#1E1B8B#1E1B8B
#1E1B8B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.175 H 272.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1B8B |
|---|---|
| RGB | rgb(30, 27, 139) |
| HSL | hsl(242, 67%, 33%) |
| HSV | hsv(242, 81%, 55%) |
| CMYK | cmyk(78.4%, 80.6%, 0%, 45.5%) |
| CIE-LAB | lab(19.73, 40.37, -60.35) |
| CIE-LCH | lch(19.73, 72.61, 303.78°) |
| OKLab | oklab(32.56% 0.0066 -0.1747) |
| OKLCH | oklch(32.56% 0.175 272.2) |
| XYZ | xyz(5.5860, 2.9234, 24.6910) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.64
Midnight Blue
#191970
ΔE00 4.24
Cobalt Blue
#030AA7
ΔE00 4.48
Darkblue
#00008B
ΔE00 4.51
Royal Blue (survey)
#0504AA
ΔE00 5.05
Navy
#000080
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1B8B #888B1B
analogous
#1B508B #1E1B8B #561B8B
triadic
#1E1B8B #8B1E1B #1B8B1E
tetradic
#1E1B8B #8B1B50 #888B1B #1B8B56
square
#1E1B8B #8B1B50 #888B1B #1B8B56
split-complementary
#1E1B8B #8B561B #508B1B
monochromatic
#080725 #131158 #1E1B8B #2925BE #4945DB
Accessibility & contrast
On white
13.25
#1E1B8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1E1B8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1B8B
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1B8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1B8B | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e1b8b; /* rgb */ color: rgb(30, 27, 139); /* oklch */ color: oklch(32.6% 0.175 272.2);
Tailwind
colors: {
custom: {
50: '#6f5aae',
500: '#1e1b8b',
950: '#000000',
},
}SCSS
$custom: #1e1b8b; $custom-light: #6f5aae; $custom-dark: #000000;
JSON
{
"hex": "#1e1b8b",
"rgb": {
"r": 30,
"g": 27,
"b": 139
},
"hsl": {
"h": 241.607,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.32556,
"c": 0.1748,
"h": 272.2
},
"luminance": 0.02924
}Semantic roles & 50–950 ramp
primary
#1E1B8B
secondary
#B9BC45
accent
#EA3DE6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F