#1B1E71#1B1E71
#1B1E71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.139 H 272.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1E71 |
|---|---|
| RGB | rgb(27, 30, 113) |
| HSL | hsl(238, 61%, 27%) |
| HSV | hsv(238, 76%, 44%) |
| CMYK | cmyk(76.1%, 73.5%, 0%, 55.7%) |
| CIE-LAB | lab(17.24, 29.11, -47.94) |
| CIE-LCH | lch(17.24, 56.08, 301.27°) |
| OKLab | oklab(29.87% 0.0065 -0.1387) |
| OKLCH | oklch(29.87% 0.139 272.7) |
| XYZ | xyz(3.8959, 2.3534, 15.8685) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.37
Dark Royal Blue
#02066F
ΔE00 5.49
Darkblue (survey)
#030764
ΔE00 5.56
Royal
#0C1793
ΔE00 5.69
Deep Blue
#040273
ΔE00 6.18
Navy
#000080
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1E71 #716E1B
analogous
#1B4971 #1B1E71 #431B71
triadic
#1B1E71 #711B1E #1E711B
tetradic
#1B1E71 #711B49 #716E1B #1B7143
square
#1B1E71 #711B49 #716E1B #1B7143
split-complementary
#1B1E71 #71431B #49711B
monochromatic
#060719 #0F1140 #1B1E71 #272BA2 #373CCF
Accessibility & contrast
On white
14.28
#1B1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1B1E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1E71
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1E71 | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1b1e71; /* rgb */ color: rgb(27, 30, 113); /* oklch */ color: oklch(29.9% 0.139 272.7);
Tailwind
colors: {
custom: {
50: '#665a9b',
500: '#1b1e71',
950: '#000000',
},
}SCSS
$custom: #1b1e71; $custom-light: #665a9b; $custom-dark: #000000;
JSON
{
"hex": "#1b1e71",
"rgb": {
"r": 27,
"g": 30,
"b": 113
},
"hsl": {
"h": 237.907,
"s": 61.429,
"l": 27.451
},
"oklch": {
"l": 0.29869,
"c": 0.13881,
"h": 272.7
},
"luminance": 0.02354
}Semantic roles & 50–950 ramp
primary
#1B1E71
secondary
#A6A242
accent
#DF43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E