#1D247F#1D247F
#1D247F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.150 H 271.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1D247F |
|---|---|
| RGB | rgb(29, 36, 127) |
| HSL | hsl(236, 63%, 31%) |
| HSV | hsv(236, 77%, 50%) |
| CMYK | cmyk(77.2%, 71.7%, 0%, 50.2%) |
| CIE-LAB | lab(20.26, 30.63, -51.93) |
| CIE-LCH | lch(20.26, 60.29, 300.54°) |
| OKLab | oklab(32.52% 0.0034 -0.1503) |
| OKLCH | oklch(32.52% 0.15 271.3) |
| XYZ | xyz(4.9670, 3.0547, 20.4024) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.42
Royal
#0C1793
ΔE00 4.60
Dark Royal Blue
#02066F
ΔE00 6.99
Darkblue
#00008B
ΔE00 7.32
Navy
#000080
ΔE00 7.40
Deep Blue
#040273
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D247F #7F781D
analogous
#1D557F #1D247F #471D7F
triadic
#1D247F #7F1D24 #247F1D
tetradic
#1D247F #7F1D55 #7F781D #1D7F47
square
#1D247F #7F1D55 #7F781D #1D7F47
split-complementary
#1D247F #7F471D #557F1D
monochromatic
#06081B #12164D #1D247F #2832B1 #424DD4
Accessibility & contrast
On white
13.04
#1D247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1D247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D247F
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D247F | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d247f; /* rgb */ color: rgb(29, 36, 127); /* oklch */ color: oklch(32.5% 0.150 271.3);
Tailwind
colors: {
custom: {
50: '#6a5fa5',
500: '#1d247f',
950: '#000000',
},
}SCSS
$custom: #1d247f; $custom-light: #6a5fa5; $custom-dark: #000000;
JSON
{
"hex": "#1d247f",
"rgb": {
"r": 29,
"g": 36,
"b": 127
},
"hsl": {
"h": 235.714,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.3252,
"c": 0.1503,
"h": 271.3
},
"luminance": 0.03055
}Semantic roles & 50–950 ramp
primary
#1D247F
secondary
#B2AB45
accent
#DA42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F