#1D237C#1D237C
#1D237C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.147 H 271.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1D237C |
|---|---|
| RGB | rgb(29, 35, 124) |
| HSL | hsl(236, 62%, 30%) |
| HSV | hsv(236, 77%, 49%) |
| CMYK | cmyk(76.6%, 71.8%, 0%, 51.4%) |
| CIE-LAB | lab(19.71, 30.17, -50.93) |
| CIE-LCH | lch(19.71, 59.19, 300.64°) |
| OKLab | oklab(32.03% 0.0044 -0.1473) |
| OKLCH | oklch(32.03% 0.147 271.7) |
| XYZ | xyz(4.7446, 2.9180, 19.3781) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.98
Royal
#0C1793
ΔE00 4.79
Dark Royal Blue
#02066F
ΔE00 6.70
Darkblue (survey)
#030764
ΔE00 7.15
Deep Blue
#040273
ΔE00 7.20
Navy
#000080
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D237C #7C761D
analogous
#1D527C #1D237C #471D7C
triadic
#1D237C #7C1D23 #237C1D
tetradic
#1D237C #7C1D52 #7C761D #1D7C47
square
#1D237C #7C1D52 #7C761D #1D7C47
split-complementary
#1D237C #7C471D #527C1D
monochromatic
#060719 #11154A #1D237C #2931AE #414AD3
Accessibility & contrast
On white
13.26
#1D237C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1D237C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D237C
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D237C | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1d237c; /* rgb */ color: rgb(29, 35, 124); /* oklch */ color: oklch(32.0% 0.147 271.7);
Tailwind
colors: {
custom: {
50: '#695ea3',
500: '#1d237c',
950: '#000000',
},
}SCSS
$custom: #1d237c; $custom-light: #695ea3; $custom-dark: #000000;
JSON
{
"hex": "#1d237c",
"rgb": {
"r": 29,
"g": 35,
"b": 124
},
"hsl": {
"h": 236.211,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.3203,
"c": 0.14739,
"h": 271.7
},
"luminance": 0.02919
}Semantic roles & 50–950 ramp
primary
#1D237C
secondary
#B0A945
accent
#DB43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F