#1D115E#1D115E
#1D115E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.127 H 279.8°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1D115E |
|---|---|
| RGB | rgb(29, 17, 94) |
| HSL | hsl(249, 69%, 22%) |
| HSV | hsv(249, 82%, 37%) |
| CMYK | cmyk(69.1%, 81.9%, 0%, 63.1%) |
| CIE-LAB | lab(12.42, 30.58, -43.38) |
| CIE-LCH | lch(12.42, 53.08, 305.18°) |
| OKLab | oklab(25.85% 0.0216 -0.1252) |
| OKLCH | oklch(25.85% 0.127 279.8) |
| XYZ | xyz(2.7269, 1.4700, 10.7276) |
| Luminance | 0.0147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.45
Darkblue (survey)
#030764
ΔE00 3.34
Midnight Blue
#191970
ΔE00 3.51
Dark Blue
#00035B
ΔE00 3.82
Dark Royal Blue
#02066F
ΔE00 4.40
Night Blue
#040348
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D115E #525E11
analogous
#112C5E #1D115E #44115E
triadic
#1D115E #5E1D11 #115E1D
tetradic
#1D115E #5E112C #525E11 #115E44
square
#1D115E #5E112C #525E11 #115E44
split-complementary
#1D115E #5E4411 #2C5E11
monochromatic
#08051A #0D082A #1D115E #2D1A92 #3D24C6
Accessibility & contrast
On white
16.23
#1D115E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#1D115E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D115E
16.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D115E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D115E | 1.00 | 16.23 | 1.29 | 16.23 |
| #FFFFFF | 16.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #1d115e; /* rgb */ color: rgb(29, 17, 94); /* oklch */ color: oklch(25.8% 0.127 279.8);
Tailwind
colors: {
custom: {
50: '#64518d',
500: '#1d115e',
950: '#000000',
},
}SCSS
$custom: #1d115e; $custom-light: #64518d; $custom-dark: #000000;
JSON
{
"hex": "#1d115e",
"rgb": {
"r": 29,
"g": 17,
"b": 94
},
"hsl": {
"h": 249.351,
"s": 69.369,
"l": 21.765
},
"oklch": {
"l": 0.25848,
"c": 0.12709,
"h": 279.8
},
"luminance": 0.0147
}Semantic roles & 50–950 ramp
primary
#1D115E
secondary
#879734
accent
#EC3CD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D