#1D147F#1D147F
#1D147F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.166 H 273.7°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1D147F |
|---|---|
| RGB | rgb(29, 20, 127) |
| HSL | hsl(245, 73%, 29%) |
| HSV | hsv(245, 84%, 50%) |
| CMYK | cmyk(77.2%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(16.96, 39.97, -57.39) |
| CIE-LCH | lch(16.96, 69.94, 304.86°) |
| OKLab | oklab(30.18% 0.0107 -0.166) |
| OKLCH | oklch(30.18% 0.166 273.7) |
| XYZ | xyz(4.5863, 2.2934, 20.2755) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.97
Royal
#0C1793
ΔE00 3.03
Navy
#000080
ΔE00 3.53
Darkblue
#00008B
ΔE00 3.63
Dark Royal Blue
#02066F
ΔE00 3.76
Deep Blue
#040273
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D147F #767F14
analogous
#14417F #1D147F #53147F
triadic
#1D147F #7F1D14 #147F1D
tetradic
#1D147F #7F1441 #767F14 #147F53
square
#1D147F #7F1441 #767F14 #147F53
split-complementary
#1D147F #7F5314 #417F14
monochromatic
#06041A #110C4A #1D147F #291CB4 #3E2FDE
Accessibility & contrast
On white
14.40
#1D147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1D147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D147F
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D147F | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1d147f; /* rgb */ color: rgb(29, 20, 127); /* oklch */ color: oklch(30.2% 0.166 273.7);
Tailwind
colors: {
custom: {
50: '#6c55a5',
500: '#1d147f',
950: '#000000',
},
}SCSS
$custom: #1d147f; $custom-light: #6c55a5; $custom-dark: #000000;
JSON
{
"hex": "#1d147f",
"rgb": {
"r": 29,
"g": 20,
"b": 127
},
"hsl": {
"h": 245.047,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.3018,
"c": 0.16633,
"h": 273.7
},
"luminance": 0.02294
}Semantic roles & 50–950 ramp
primary
#1D147F
secondary
#AAB43B
accent
#EF38E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F