#0F1C4F#0F1C4F
#0F1C4F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.095 H 267.9°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).
Color values
| HEX | #0F1C4F |
|---|---|
| RGB | rgb(15, 28, 79) |
| HSL | hsl(228, 68%, 18%) |
| HSV | hsv(228, 81%, 31%) |
| CMYK | cmyk(81%, 64.6%, 0%, 69%) |
| CIE-LAB | lab(12.59, 15.35, -32.98) |
| CIE-LCH | lch(12.59, 36.38, 294.96°) |
| OKLab | oklab(25.23% -0.0035 -0.0952) |
| OKLCH | oklch(25.23% 0.095 267.9) |
| XYZ | xyz(2.0230, 1.4964, 7.5778) |
| Luminance | 0.0150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue (survey)
#001146
ΔE00 3.34
Navy (survey)
#01153E
ΔE00 3.51
Dark Navy
#000435
ΔE00 6.01
Navy Blue
#1B2A4A
ΔE00 6.17
Very Dark Blue
#000133
ΔE00 6.49
Midnight Blue (survey)
#020035
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F1C4F #4F420F
analogous
#0F3C4F #0F1C4F #220F4F
triadic
#0F1C4F #4F0F1C #1C4F0F
tetradic
#0F1C4F #4F0F3C #4F420F #0F4F22
square
#0F1C4F #4F0F3C #4F420F #0F4F22
split-complementary
#0F1C4F #4F220F #3C4F0F
monochromatic
#05091A #050A1C #0F1C4F #192E82 #2340B6
Accessibility & contrast
On white
16.16
#0F1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#0F1C4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F1C4F
16.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F1C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F1C4F | 1.00 | 16.16 | 1.30 | 16.16 |
| #FFFFFF | 16.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #0f1c4f; /* rgb */ color: rgb(15, 28, 79); /* oklch */ color: oklch(25.2% 0.095 267.9);
Tailwind
colors: {
custom: {
50: '#595781',
500: '#0f1c4f',
950: '#000000',
},
}SCSS
$custom: #0f1c4f; $custom-light: #595781; $custom-dark: #000000;
JSON
{
"hex": "#0f1c4f",
"rgb": {
"r": 15,
"g": 28,
"b": 79
},
"hsl": {
"h": 227.813,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.25225,
"c": 0.09526,
"h": 267.9
},
"luminance": 0.01497
}Semantic roles & 50–950 ramp
primary
#0F1C4F
secondary
#897731
accent
#C83DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C