#1B166E#1B166E
#1B166E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.144 H 274.6°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1B166E |
|---|---|
| RGB | rgb(27, 22, 110) |
| HSL | hsl(243, 67%, 26%) |
| HSV | hsv(243, 80%, 43%) |
| CMYK | cmyk(75.5%, 80%, 0%, 56.9%) |
| CIE-LAB | lab(15.13, 33.00, -49.47) |
| CIE-LCH | lch(15.13, 59.47, 303.70°) |
| OKLab | oklab(28.26% 0.0115 -0.1431) |
| OKLCH | oklch(28.26% 0.144 274.6) |
| XYZ | xyz(3.5524, 1.9323, 14.9346) |
| Luminance | 0.0193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.89
Dark Royal Blue
#02066F
ΔE00 3.55
Darkblue (survey)
#030764
ΔE00 3.63
Deep Blue
#040273
ΔE00 4.24
Dark Blue
#00035B
ΔE00 5.02
Navy
#000080
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B166E #696E16
analogous
#163D6E #1B166E #47166E
triadic
#1B166E #6E1B16 #166E1B
tetradic
#1B166E #6E163D #696E16 #166E47
square
#1B166E #6E163D #696E16 #166E47
split-complementary
#1B166E #6E4716 #3D6E16
monochromatic
#06051A #0E0C3B #1B166E #2820A1 #342AD4
Accessibility & contrast
On white
15.14
#1B166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#1B166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B166E
15.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B166E | 1.00 | 15.14 | 1.39 | 15.14 |
| #FFFFFF | 15.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1b166e; /* rgb */ color: rgb(27, 22, 110); /* oklch */ color: oklch(28.3% 0.144 274.6);
Tailwind
colors: {
custom: {
50: '#665599',
500: '#1b166e',
950: '#000000',
},
}SCSS
$custom: #1b166e; $custom-light: #665599; $custom-dark: #000000;
JSON
{
"hex": "#1b166e",
"rgb": {
"r": 27,
"g": 22,
"b": 110
},
"hsl": {
"h": 243.409,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.28264,
"c": 0.14355,
"h": 274.6
},
"luminance": 0.01933
}Semantic roles & 50–950 ramp
primary
#1B166E
secondary
#9EA43C
accent
#EA3EE0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E