#1D245E#1D245E
#1D245E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.103 H 273.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1D245E |
|---|---|
| RGB | rgb(29, 36, 94) |
| HSL | hsl(234, 53%, 24%) |
| HSV | hsv(234, 69%, 37%) |
| CMYK | cmyk(69.1%, 61.7%, 0%, 63.1%) |
| CIE-LAB | lab(17.14, 17.90, -35.65) |
| CIE-LCH | lch(17.14, 39.90, 296.67°) |
| OKLab | oklab(29.27% 0.0055 -0.1026) |
| OKLCH | oklch(29.27% 0.103 273.1) |
| XYZ | xyz(3.1573, 2.3308, 10.8710) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.71
Navy Blue (survey)
#001146
ΔE00 6.12
Marine
#042E60
ΔE00 6.16
Navy Blue
#1B2A4A
ΔE00 6.25
Navy (survey)
#01153E
ΔE00 6.66
Dark Indigo
#1F0954
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D245E #5E571D
analogous
#1D455E #1D245E #371D5E
triadic
#1D245E #5E1D24 #245E1D
tetradic
#1D245E #5E1D45 #5E571D #1D5E37
square
#1D245E #5E1D45 #5E571D #1D5E37
split-complementary
#1D245E #5E371D #455E1D
monochromatic
#070917 #0F122F #1D245E #2B368D #3A48BC
Accessibility & contrast
On white
14.32
#1D245E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1D245E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D245E
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D245E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D245E | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1d245e; /* rgb */ color: rgb(29, 36, 94); /* oklch */ color: oklch(29.3% 0.103 273.1);
Tailwind
colors: {
custom: {
50: '#625e8c',
500: '#1d245e',
950: '#000000',
},
}SCSS
$custom: #1d245e; $custom-light: #625e8c; $custom-dark: #000000;
JSON
{
"hex": "#1d245e",
"rgb": {
"r": 29,
"g": 36,
"b": 94
},
"hsl": {
"h": 233.538,
"s": 52.846,
"l": 24.118
},
"oklch": {
"l": 0.29267,
"c": 0.10272,
"h": 273.1
},
"luminance": 0.02331
}Semantic roles & 50–950 ramp
primary
#1D245E
secondary
#938B44
accent
#CD4CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D