#1D1E8B#1D1E8B
#1D1E8B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.172 H 271.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1E8B |
|---|---|
| RGB | rgb(29, 30, 139) |
| HSL | hsl(239, 65%, 33%) |
| HSV | hsv(239, 79%, 55%) |
| CMYK | cmyk(79.1%, 78.4%, 0%, 45.5%) |
| CIE-LAB | lab(20.26, 38.63, -59.49) |
| CIE-LCH | lch(20.26, 70.93, 303.00°) |
| OKLab | oklab(32.91% 0.0043 -0.1722) |
| OKLCH | oklch(32.91% 0.172 271.4) |
| XYZ | xyz(5.6296, 3.0532, 24.7137) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.03
Midnight Blue
#191970
ΔE00 4.24
Cobalt Blue
#030AA7
ΔE00 4.90
Darkblue
#00008B
ΔE00 5.17
Royal Blue (survey)
#0504AA
ΔE00 5.50
Navy
#000080
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1E8B #8B8A1D
analogous
#1D558B #1D1E8B #531D8B
triadic
#1D1E8B #8B1D1E #1E8B1D
tetradic
#1D1E8B #8B1D55 #8B8A1D #1D8B53
square
#1D1E8B #8B1D55 #8B8A1D #1D8B53
split-complementary
#1D1E8B #8B531D #558B1D
monochromatic
#080826 #121358 #1D1E8B #2829BE #494BD9
Accessibility & contrast
On white
13.04
#1D1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1D1E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1E8B
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1E8B | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d1e8b; /* rgb */ color: rgb(29, 30, 139); /* oklch */ color: oklch(32.9% 0.172 271.4);
Tailwind
colors: {
custom: {
50: '#6e5cae',
500: '#1d1e8b',
950: '#000000',
},
}SCSS
$custom: #1d1e8b; $custom-light: #6e5cae; $custom-dark: #000000;
JSON
{
"hex": "#1d1e8b",
"rgb": {
"r": 29,
"g": 30,
"b": 139
},
"hsl": {
"h": 239.455,
"s": 65.476,
"l": 32.941
},
"oklch": {
"l": 0.32907,
"c": 0.17228,
"h": 271.4
},
"luminance": 0.03054
}Semantic roles & 50–950 ramp
primary
#1D1E8B
secondary
#BBBA49
accent
#E73FE8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F