#1D117F#1D117F
#1D117F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.169 H 274.0°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1D117F |
|---|---|
| RGB | rgb(29, 17, 127) |
| HSL | hsl(247, 76%, 28%) |
| HSV | hsv(247, 87%, 50%) |
| CMYK | cmyk(77.2%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(16.47, 41.40, -58.19) |
| CIE-LCH | lch(16.47, 71.41, 305.43°) |
| OKLab | oklab(29.85% 0.0117 -0.1682) |
| OKLCH | oklch(29.85% 0.169 274) |
| XYZ | xyz(4.5366, 2.1939, 20.2589) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.02
Darkblue
#00008B
ΔE00 3.18
Royal
#0C1793
ΔE00 3.19
Midnight Blue
#191970
ΔE00 3.34
Deep Blue
#040273
ΔE00 3.40
Dark Royal Blue
#02066F
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D117F #737F11
analogous
#113C7F #1D117F #54117F
triadic
#1D117F #7F1D11 #117F1D
tetradic
#1D117F #7F113C #737F11 #117F54
square
#1D117F #7F113C #737F11 #117F54
split-complementary
#1D117F #7F5411 #3C7F11
monochromatic
#06041B #110A49 #1D117F #2918B5 #3C28E2
Accessibility & contrast
On white
14.60
#1D117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1D117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D117F
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D117F | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1d117f; /* rgb */ color: rgb(29, 17, 127); /* oklch */ color: oklch(29.8% 0.169 274.0);
Tailwind
colors: {
custom: {
50: '#6c54a5',
500: '#1d117f',
950: '#000000',
},
}SCSS
$custom: #1d117f; $custom-light: #6c54a5; $custom-dark: #000000;
JSON
{
"hex": "#1d117f",
"rgb": {
"r": 29,
"g": 17,
"b": 127
},
"hsl": {
"h": 246.545,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.29847,
"c": 0.16866,
"h": 274
},
"luminance": 0.02194
}Semantic roles & 50–950 ramp
primary
#1D117F
secondary
#A7B537
accent
#F335DE
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F