#1D2A7B#1D2A7B
#1D2A7B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.137 H 270.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2A7B |
|---|---|
| RGB | rgb(29, 42, 123) |
| HSL | hsl(232, 62%, 30%) |
| HSV | hsv(232, 76%, 48%) |
| CMYK | cmyk(76.4%, 65.9%, 0%, 51.8%) |
| CIE-LAB | lab(21.38, 25.07, -47.55) |
| CIE-LCH | lch(21.38, 53.75, 297.80°) |
| OKLab | oklab(33.22% -0.0001 -0.1374) |
| OKLCH | oklch(33.22% 0.137 270) |
| XYZ | xyz(4.9086, 3.3467, 19.1223) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.93
Royal
#0C1793
ΔE00 6.65
Marine
#042E60
ΔE00 6.82
Sapphire (survey)
#2138AB
ΔE00 7.64
Darkslateblue
#483D8B
ΔE00 7.75
Blueberry
#464196
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2A7B #7B6E1D
analogous
#1D597B #1D2A7B #3F1D7B
triadic
#1D2A7B #7B1D2A #2A7B1D
tetradic
#1D2A7B #7B1D59 #7B6E1D #1D7B3F
square
#1D2A7B #7B1D59 #7B6E1D #1D7B3F
split-complementary
#1D2A7B #7B3F1D #597B1D
monochromatic
#060819 #111949 #1D2A7B #293BAD #4055D2
Accessibility & contrast
On white
12.58
#1D2A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1D2A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2A7B
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2A7B | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1d2a7b; /* rgb */ color: rgb(29, 42, 123); /* oklch */ color: oklch(33.2% 0.137 270.0);
Tailwind
colors: {
custom: {
50: '#6863a2',
500: '#1d2a7b',
950: '#000000',
},
}SCSS
$custom: #1d2a7b; $custom-light: #6863a2; $custom-dark: #000000;
JSON
{
"hex": "#1d2a7b",
"rgb": {
"r": 29,
"g": 42,
"b": 123
},
"hsl": {
"h": 231.702,
"s": 61.842,
"l": 29.804
},
"oklch": {
"l": 0.33217,
"c": 0.13743,
"h": 270
},
"luminance": 0.03347
}Semantic roles & 50–950 ramp
primary
#1D2A7B
secondary
#AFA045
accent
#CF43E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F