#0F175E#0F175E
#0F175E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.124 H 269.5°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).
Color values
| HEX | #0F175E |
|---|---|
| RGB | rgb(15, 23, 94) |
| HSL | hsl(234, 72%, 21%) |
| HSV | hsv(234, 84%, 37%) |
| CMYK | cmyk(84%, 75.5%, 0%, 63.1%) |
| CIE-LAB | lab(12.75, 25.24, -42.87) |
| CIE-LCH | lch(12.75, 49.74, 300.49°) |
| OKLab | oklab(25.82% -0.001 -0.1241) |
| OKLCH | oklch(25.82% 0.124 269.5) |
| XYZ | xyz(2.5231, 1.5222, 10.7483) |
| Luminance | 0.0152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.27
Darkblue (survey)
#030764
ΔE00 4.47
Navy Blue (survey)
#001146
ΔE00 4.57
Dark Indigo
#1F0954
ΔE00 4.93
Dark Blue
#00035B
ΔE00 5.11
Night Blue
#040348
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F175E #5E560F
analogous
#0F3F5E #0F175E #2F0F5E
triadic
#0F175E #5E0F17 #175E0F
tetradic
#0F175E #5E0F3F #5E560F #0F5E2F
square
#0F175E #5E0F3F #5E560F #0F5E2F
split-complementary
#0F175E #5E2F0F #3F5E0F
monochromatic
#04061A #070A29 #0F175E #172493 #2031C8
Accessibility & contrast
On white
16.10
#0F175E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#0F175E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F175E
16.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F175E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F175E | 1.00 | 16.10 | 1.30 | 16.10 |
| #FFFFFF | 16.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #0f175e; /* rgb */ color: rgb(15, 23, 94); /* oklch */ color: oklch(25.8% 0.124 269.5);
Tailwind
colors: {
custom: {
50: '#5e548d',
500: '#0f175e',
950: '#000000',
},
}SCSS
$custom: #0f175e; $custom-light: #5e548d; $custom-dark: #000000;
JSON
{
"hex": "#0f175e",
"rgb": {
"r": 15,
"g": 23,
"b": 94
},
"hsl": {
"h": 233.924,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.25818,
"c": 0.12415,
"h": 269.5
},
"luminance": 0.01523
}Semantic roles & 50–950 ramp
primary
#0F175E
secondary
#978D31
accent
#DD39EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D