#1D2A8B#1D2A8B
#1D2A8B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.159 H 269.6°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2A8B |
|---|---|
| RGB | rgb(29, 42, 139) |
| HSL | hsl(233, 65%, 33%) |
| HSV | hsv(233, 79%, 55%) |
| CMYK | cmyk(79.1%, 69.8%, 0%, 45.5%) |
| CIE-LAB | lab(22.93, 31.20, -55.07) |
| CIE-LCH | lch(22.93, 63.30, 299.53°) |
| OKLab | oklab(34.82% -0.0012 -0.1594) |
| OKLCH | oklch(34.82% 0.159 269.6) |
| XYZ | xyz(5.9933, 3.7806, 24.8349) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.67
Midnight Blue
#191970
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 7.45
Darkslateblue
#483D8B
ΔE00 7.53
Blueberry
#464196
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2A8B #8B7E1D
analogous
#1D618B #1D2A8B #471D8B
triadic
#1D2A8B #8B1D2A #2A8B1D
tetradic
#1D2A8B #8B1D61 #8B7E1D #1D8B47
square
#1D2A8B #8B1D61 #8B7E1D #1D8B47
split-complementary
#1D2A8B #8B471D #618B1D
monochromatic
#080B26 #121B58 #1D2A8B #2839BE #495AD9
Accessibility & contrast
On white
11.96
#1D2A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1D2A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2A8B
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2A8B | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1d2a8b; /* rgb */ color: rgb(29, 42, 139); /* oklch */ color: oklch(34.8% 0.159 269.6);
Tailwind
colors: {
custom: {
50: '#6d64ae',
500: '#1d2a8b',
950: '#000000',
},
}SCSS
$custom: #1d2a8b; $custom-light: #6d64ae; $custom-dark: #000000;
JSON
{
"hex": "#1d2a8b",
"rgb": {
"r": 29,
"g": 42,
"b": 139
},
"hsl": {
"h": 232.909,
"s": 65.476,
"l": 32.941
},
"oklch": {
"l": 0.34823,
"c": 0.15943,
"h": 269.6
},
"luminance": 0.03781
}Semantic roles & 50–950 ramp
primary
#1D2A8B
secondary
#BBAE49
accent
#D43FE8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F