#1B166F#1B166F
#1B166F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.145 H 274.5°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1B166F |
|---|---|
| RGB | rgb(27, 22, 111) |
| HSL | hsl(243, 67%, 26%) |
| HSV | hsv(243, 80%, 44%) |
| CMYK | cmyk(75.7%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(15.24, 33.35, -49.93) |
| CIE-LCH | lch(15.24, 60.05, 303.74°) |
| OKLab | oklab(28.38% 0.0113 -0.1444) |
| OKLCH | oklch(28.38% 0.145 274.5) |
| XYZ | xyz(3.6072, 1.9542, 15.2229) |
| Luminance | 0.0196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.87
Dark Royal Blue
#02066F
ΔE00 3.51
Darkblue (survey)
#030764
ΔE00 3.67
Deep Blue
#040273
ΔE00 4.17
Navy
#000080
ΔE00 5.00
Dark Blue
#00035B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B166F #6A6F16
analogous
#163D6F #1B166F #47166F
triadic
#1B166F #6F1B16 #166F1B
tetradic
#1B166F #6F163D #6A6F16 #166F47
square
#1B166F #6F163D #6A6F16 #166F47
split-complementary
#1B166F #6F4716 #3D6F16
monochromatic
#06051A #0F0C3C #1B166F #2720A2 #342BD5
Accessibility & contrast
On white
15.10
#1B166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#1B166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B166F
15.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B166F | 1.00 | 15.10 | 1.39 | 15.10 |
| #FFFFFF | 15.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1b166f; /* rgb */ color: rgb(27, 22, 111); /* oklch */ color: oklch(28.4% 0.145 274.5);
Tailwind
colors: {
custom: {
50: '#675599',
500: '#1b166f',
950: '#000000',
},
}SCSS
$custom: #1b166f; $custom-light: #675599; $custom-dark: #000000;
JSON
{
"hex": "#1b166f",
"rgb": {
"r": 27,
"g": 22,
"b": 111
},
"hsl": {
"h": 243.371,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.28381,
"c": 0.14486,
"h": 274.5
},
"luminance": 0.01955
}Semantic roles & 50–950 ramp
primary
#1B166F
secondary
#9FA53C
accent
#EA3EE0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E