#1D116E#1D116E
#1D116E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.148 H 276.5°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1D116E |
|---|---|
| RGB | rgb(29, 17, 110) |
| HSL | hsl(248, 73%, 25%) |
| HSV | hsv(248, 85%, 43%) |
| CMYK | cmyk(73.6%, 84.5%, 0%, 56.9%) |
| CIE-LAB | lab(14.33, 35.94, -50.79) |
| CIE-LCH | lch(14.33, 62.22, 305.28°) |
| OKLab | oklab(27.75% 0.0169 -0.1468) |
| OKLCH | oklch(27.75% 0.148 276.5) |
| XYZ | xyz(3.5207, 1.7876, 14.9083) |
| Luminance | 0.0179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.13
Dark Royal Blue
#02066F
ΔE00 2.71
Darkblue (survey)
#030764
ΔE00 2.98
Deep Blue
#040273
ΔE00 3.26
Navy
#000080
ΔE00 4.28
Dark Blue
#00035B
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D116E #626E11
analogous
#11346E #1D116E #4C116E
triadic
#1D116E #6E1D11 #116E1D
tetradic
#1D116E #6E1134 #626E11 #116E4C
square
#1D116E #6E1134 #626E11 #116E4C
split-complementary
#1D116E #6E4C11 #346E11
monochromatic
#07041B #0F0939 #1D116E #2B19A3 #3921D8
Accessibility & contrast
On white
15.47
#1D116E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#1D116E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D116E
15.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D116E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D116E | 1.00 | 15.47 | 1.36 | 15.47 |
| #FFFFFF | 15.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #1d116e; /* rgb */ color: rgb(29, 17, 110); /* oklch */ color: oklch(27.7% 0.148 276.5);
Tailwind
colors: {
custom: {
50: '#685299',
500: '#1d116e',
950: '#000000',
},
}SCSS
$custom: #1d116e; $custom-light: #685299; $custom-dark: #000000;
JSON
{
"hex": "#1d116e",
"rgb": {
"r": 29,
"g": 17,
"b": 110
},
"hsl": {
"h": 247.742,
"s": 73.228,
"l": 24.902
},
"oklch": {
"l": 0.27747,
"c": 0.14775,
"h": 276.5
},
"luminance": 0.01788
}Semantic roles & 50–950 ramp
primary
#1D116E
secondary
#97A535
accent
#F038D8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E