#1E1B74#1E1B74
#1E1B74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.145 H 274.6°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1B74 |
|---|---|
| RGB | rgb(30, 27, 116) |
| HSL | hsl(242, 62%, 28%) |
| HSV | hsv(242, 77%, 45%) |
| CMYK | cmyk(74.1%, 76.7%, 0%, 54.5%) |
| CIE-LAB | lab(17.09, 32.44, -50.12) |
| CIE-LCH | lch(17.09, 59.71, 302.91°) |
| OKLab | oklab(29.91% 0.0116 -0.1449) |
| OKLCH | oklch(29.91% 0.145 274.6) |
| XYZ | xyz(4.0787, 2.3204, 16.7526) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.86
Dark Royal Blue
#02066F
ΔE00 4.63
Royal
#0C1793
ΔE00 4.89
Darkblue (survey)
#030764
ΔE00 4.97
Deep Blue
#040273
ΔE00 5.20
Navy
#000080
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1B74 #71741B
analogous
#1B4574 #1E1B74 #4A1B74
triadic
#1E1B74 #741E1B #1B741E
tetradic
#1E1B74 #741B45 #71741B #1B744A
square
#1E1B74 #741B45 #71741B #1B744A
split-complementary
#1E1B74 #744A1B #45741B
monochromatic
#060619 #110F42 #1E1B74 #2B27A6 #3E39D1
Accessibility & contrast
On white
14.34
#1E1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1E1B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1B74
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1B74 | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e1b74; /* rgb */ color: rgb(30, 27, 116); /* oklch */ color: oklch(29.9% 0.145 274.6);
Tailwind
colors: {
custom: {
50: '#69599d',
500: '#1e1b74',
950: '#000000',
},
}SCSS
$custom: #1e1b74; $custom-light: #69599d; $custom-dark: #000000;
JSON
{
"hex": "#1e1b74",
"rgb": {
"r": 30,
"g": 27,
"b": 116
},
"hsl": {
"h": 242.022,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.29909,
"c": 0.14541,
"h": 274.6
},
"luminance": 0.02321
}Semantic roles & 50–950 ramp
primary
#1E1B74
secondary
#A5A942
accent
#E542E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E