Skip to content
Vectorlight.net

#0231bf

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

HEX
#0231bf
RGB
2, 49, 191
HSL
225.08°, 97.93%, 37.84%
OKLCH
0.41 0.22 263.84
Names
—
Lists

Codes

FormatValue
HEX#0231bf
RGBrgb(2 49 191)
HSLhsl(225.08 97.93% 37.84%)
OKLCHoklch(0.41 0.22 263.84)
CMYKcmyk(98.95% 74.35% 0% 25.1%)
Android#ff0231bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
9.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.19:1
Fail AA normal text
Fail 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="#0231bf"
Gradient stop
<stop stop-color="#0231bf"/>
CSS variable + fill
:root { --c: #0231bf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #0231bf;
background-color: #0231bf;
bg-[#0231bf]