Skip to content
Vectorlight.net

#0f307d

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

HEX
#0f307d
RGB
15, 48, 125
HSL
222°, 78.57%, 27.45%
OKLCH
0.34 0.14 263.36
Names
—
Lists

Codes

FormatValue
HEX#0f307d
RGBrgb(15 48 125)
HSLhsl(222 78.57% 27.45%)
OKLCHoklch(0.34 0.14 263.36)
CMYKcmyk(88% 61.6% 0% 50.98%)
Android#ff0f307d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0f307d;
background-color: #0f307d;
bg-[#0f307d]