#0F1C76#0F1C76
#0F1C76 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.151 H 267.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #0F1C76 |
|---|---|
| RGB | rgb(15, 28, 118) |
| HSL | hsl(232, 77%, 26%) |
| HSV | hsv(232, 87%, 46%) |
| CMYK | cmyk(87.3%, 76.3%, 0%, 53.7%) |
| CIE-LAB | lab(16.70, 31.24, -52.08) |
| CIE-LCH | lch(16.70, 60.73, 300.96°) |
| OKLab | oklab(29.47% -0.0061 -0.151) |
| OKLCH | oklch(29.47% 0.151 267.7) |
| XYZ | xyz(3.8811, 2.2396, 17.3638) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.55
Royal
#0C1793
ΔE00 4.71
Dark Royal Blue
#02066F
ΔE00 4.88
Darkblue (survey)
#030764
ΔE00 5.25
Deep Blue
#040273
ΔE00 5.51
Navy
#000080
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F1C76 #76690F
analogous
#0F4F76 #0F1C76 #350F76
triadic
#0F1C76 #760F1C #1C760F
tetradic
#0F1C76 #760F4F #76690F #0F7635
square
#0F1C76 #760F4F #76690F #0F7635
split-complementary
#0F1C76 #76350F #4F760F
monochromatic
#03061B #080F40 #0F1C76 #1629AC #1D36E2
Accessibility & contrast
On white
14.50
#0F1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#0F1C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F1C76
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F1C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F1C76 | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #0f1c76; /* rgb */ color: rgb(15, 28, 118); /* oklch */ color: oklch(29.5% 0.151 267.7);
Tailwind
colors: {
custom: {
50: '#64599f',
500: '#0f1c76',
950: '#000000',
},
}SCSS
$custom: #0f1c76; $custom-light: #64599f; $custom-dark: #000000;
JSON
{
"hex": "#0f1c76",
"rgb": {
"r": 15,
"g": 28,
"b": 118
},
"hsl": {
"h": 232.427,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.29472,
"c": 0.15109,
"h": 267.7
},
"luminance": 0.0224
}Semantic roles & 50–950 ramp
primary
#0F1C76
secondary
#AD9E33
accent
#DC34F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E