#0F1A5A#0F1A5A
#0F1A5A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.115 H 268.8°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).
Color values
| HEX | #0F1A5A |
|---|---|
| RGB | rgb(15, 26, 90) |
| HSL | hsl(231, 71%, 21%) |
| HSV | hsv(231, 83%, 35%) |
| CMYK | cmyk(83.3%, 71.1%, 0%, 64.7%) |
| CIE-LAB | lab(13.10, 21.50, -39.61) |
| CIE-LCH | lch(13.10, 45.07, 298.49°) |
| OKLab | oklab(25.94% -0.0023 -0.1146) |
| OKLCH | oklch(25.94% 0.115 268.8) |
| XYZ | xyz(2.4112, 1.5783, 9.8484) |
| Luminance | 0.0158 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue (survey)
#001146
ΔE00 3.90
Midnight Blue
#191970
ΔE00 4.44
Navy (survey)
#01153E
ΔE00 5.73
Night Blue
#040348
ΔE00 5.94
Dark Indigo
#1F0954
ΔE00 5.94
Darkblue (survey)
#030764
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F1A5A #5A4F0F
analogous
#0F3F5A #0F1A5A #290F5A
triadic
#0F1A5A #5A0F1A #1A5A0F
tetradic
#0F1A5A #5A0F3F #5A4F0F #0F5A29
square
#0F1A5A #5A0F3F #5A4F0F #0F5A29
split-complementary
#0F1A5A #5A290F #3F5A0F
monochromatic
#04081A #060B26 #0F1A5A #18298E #2038C3
Accessibility & contrast
On white
15.96
#0F1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#0F1A5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F1A5A
15.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F1A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F1A5A | 1.00 | 15.96 | 1.32 | 15.96 |
| #FFFFFF | 15.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #0f1a5a; /* rgb */ color: rgb(15, 26, 90); /* oklch */ color: oklch(25.9% 0.115 268.8);
Tailwind
colors: {
custom: {
50: '#5c5689',
500: '#0f1a5a',
950: '#000000',
},
}SCSS
$custom: #0f1a5a; $custom-light: #5c5689; $custom-dark: #000000;
JSON
{
"hex": "#0f1a5a",
"rgb": {
"r": 15,
"g": 26,
"b": 90
},
"hsl": {
"h": 231.2,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.25939,
"c": 0.11466,
"h": 268.8
},
"luminance": 0.01579
}Semantic roles & 50–950 ramp
primary
#0F1A5A
secondary
#948531
accent
#D43AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D