Skip to content
Vectorlight.net

#0262ba

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#0262ba
RGB
2, 98, 186
HSL
208.7°, 97.87%, 36.86%
OKLCH
0.5 0.16 254.06
Names
—
Lists

Codes

FormatValue
HEX#0262ba
RGBrgb(2 98 186)
HSLhsl(208.7 97.87% 36.86%)
OKLCHoklch(0.5 0.16 254.06)
CMYKcmyk(98.92% 47.31% 0% 27.06%)
Android#ff0262ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.45:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#0262ba"
Gradient stop
<stop stop-color="#0262ba"/>
CSS variable + fill
:root { --c: #0262ba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #0262ba;
background-color: #0262ba;
bg-[#0262ba]