#0F166A#0F166A
#0F166A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.142 H 269.0°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).
Color values
| HEX | #0F166A |
|---|---|
| RGB | rgb(15, 22, 106) |
| HSL | hsl(235, 75%, 24%) |
| HSV | hsv(235, 86%, 42%) |
| CMYK | cmyk(85.8%, 79.2%, 0%, 58.4%) |
| CIE-LAB | lab(13.92, 30.53, -48.88) |
| CIE-LCH | lch(13.92, 57.63, 301.99°) |
| OKLab | oklab(27.07% -0.0024 -0.1416) |
| OKLCH | oklch(27.07% 0.142 269) |
| XYZ | xyz(3.0845, 1.7156, 13.8015) |
| Luminance | 0.0172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.36
Darkblue (survey)
#030764
ΔE00 3.42
Dark Royal Blue
#02066F
ΔE00 3.73
Deep Blue
#040273
ΔE00 4.60
Dark Blue
#00035B
ΔE00 4.70
Dark Indigo
#1F0954
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F166A #6A630F
analogous
#0F436A #0F166A #350F6A
triadic
#0F166A #6A0F16 #166A0F
tetradic
#0F166A #6A0F43 #6A630F #0F6A35
square
#0F166A #6A0F43 #6A630F #0F6A35
split-complementary
#0F166A #6A350F #436A0F
monochromatic
#04061B #070B34 #0F166A #1721A0 #1E2CD5
Accessibility & contrast
On white
15.63
#0F166A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#0F166A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F166A
15.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F166A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F166A | 1.00 | 15.63 | 1.34 | 15.63 |
| #FFFFFF | 15.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#001F69
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #0f166a; /* rgb */ color: rgb(15, 22, 106); /* oklch */ color: oklch(27.1% 0.142 269.0);
Tailwind
colors: {
custom: {
50: '#615496',
500: '#0f166a',
950: '#000000',
},
}SCSS
$custom: #0f166a; $custom-light: #615496; $custom-dark: #000000;
JSON
{
"hex": "#0f166a",
"rgb": {
"r": 15,
"g": 22,
"b": 106
},
"hsl": {
"h": 235.385,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.27071,
"c": 0.14166,
"h": 269
},
"luminance": 0.01716
}Semantic roles & 50–950 ramp
primary
#0F166A
secondary
#A29A32
accent
#E336F2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030D
muted
#7A787E