#0F1C5E#0F1C5E
#0F1C5E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.118 H 268.2°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).
Color values
| HEX | #0F1C5E |
|---|---|
| RGB | rgb(15, 28, 94) |
| HSL | hsl(230, 72%, 21%) |
| HSV | hsv(230, 84%, 37%) |
| CMYK | cmyk(84%, 70.2%, 0%, 63.1%) |
| CIE-LAB | lab(14.06, 21.71, -40.71) |
| CIE-LCH | lch(14.06, 46.14, 298.06°) |
| OKLab | oklab(26.77% -0.0038 -0.1178) |
| OKLCH | oklch(26.77% 0.118 268.2) |
| XYZ | xyz(2.6319, 1.7399, 10.7846) |
| Luminance | 0.0174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.07
Navy Blue (survey)
#001146
ΔE00 4.62
Darkblue (survey)
#030764
ΔE00 6.13
Navy (survey)
#01153E
ΔE00 6.24
Dark Indigo
#1F0954
ΔE00 6.44
Night Blue
#040348
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F1C5E #5E510F
analogous
#0F445E #0F1C5E #2A0F5E
triadic
#0F1C5E #5E0F1C #1C5E0F
tetradic
#0F1C5E #5E0F44 #5E510F #0F5E2A
square
#0F1C5E #5E0F44 #5E510F #0F5E2A
split-complementary
#0F1C5E #5E2A0F #445E0F
monochromatic
#04081A #070C29 #0F1C5E #172C93 #203BC8
Accessibility & contrast
On white
15.58
#0F1C5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#0F1C5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F1C5E
15.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F1C5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F1C5E | 1.00 | 15.58 | 1.35 | 15.58 |
| #FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #0f1c5e; /* rgb */ color: rgb(15, 28, 94); /* oklch */ color: oklch(26.8% 0.118 268.2);
Tailwind
colors: {
custom: {
50: '#5d588c',
500: '#0f1c5e',
950: '#000000',
},
}SCSS
$custom: #0f1c5e; $custom-light: #5d588c; $custom-dark: #000000;
JSON
{
"hex": "#0f1c5e",
"rgb": {
"r": 15,
"g": 28,
"b": 94
},
"hsl": {
"h": 230.127,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.26769,
"c": 0.1179,
"h": 268.2
},
"luminance": 0.0174
}Semantic roles & 50–950 ramp
primary
#0F1C5E
secondary
#978731
accent
#D139EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D