#1D2A8C#1D2A8C
#1D2A8C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.161 H 269.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2A8C |
|---|---|
| RGB | rgb(29, 42, 140) |
| HSL | hsl(233, 66%, 33%) |
| HSV | hsv(233, 79%, 55%) |
| CMYK | cmyk(79.3%, 70%, 0%, 45.1%) |
| CIE-LAB | lab(23.03, 31.58, -55.53) |
| CIE-LCH | lch(23.03, 63.88, 299.62°) |
| OKLab | oklab(34.93% -0.0013 -0.1608) |
| OKLCH | oklch(34.93% 0.161 269.5) |
| XYZ | xyz(6.0667, 3.8099, 25.2215) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.90
Sapphire (survey)
#2138AB
ΔE00 5.56
Midnight Blue
#191970
ΔE00 5.76
Cobalt Blue
#030AA7
ΔE00 7.34
Darkslateblue
#483D8B
ΔE00 7.54
Indigo Blue
#3A18B1
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2A8C #8C7F1D
analogous
#1D618C #1D2A8C #471D8C
triadic
#1D2A8C #8C1D2A #2A8C1D
tetradic
#1D2A8C #8C1D61 #8C7F1D #1D8C47
square
#1D2A8C #8C1D61 #8C7F1D #1D8C47
split-complementary
#1D2A8C #8C471D #618C1D
monochromatic
#080C27 #121B59 #1D2A8C #2839BF #4A5BD9
Accessibility & contrast
On white
11.92
#1D2A8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1D2A8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2A8C
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2A8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2A8C | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1d2a8c; /* rgb */ color: rgb(29, 42, 140); /* oklch */ color: oklch(34.9% 0.161 269.5);
Tailwind
colors: {
custom: {
50: '#6d64af',
500: '#1d2a8c',
950: '#000000',
},
}SCSS
$custom: #1d2a8c; $custom-light: #6d64af; $custom-dark: #000000;
JSON
{
"hex": "#1d2a8c",
"rgb": {
"r": 29,
"g": 42,
"b": 140
},
"hsl": {
"h": 232.973,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.34927,
"c": 0.16078,
"h": 269.5
},
"luminance": 0.03811
}Semantic roles & 50–950 ramp
primary
#1D2A8C
secondary
#BCAE49
accent
#D53FE9
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F