#1D115C#1D115C
#1D115C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.124 H 280.3°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1D115C |
|---|---|
| RGB | rgb(29, 17, 92) |
| HSL | hsl(250, 69%, 21%) |
| HSV | hsv(250, 82%, 36%) |
| CMYK | cmyk(68.5%, 81.5%, 0%, 63.9%) |
| CIE-LAB | lab(12.19, 29.90, -42.42) |
| CIE-LCH | lch(12.19, 51.90, 305.18°) |
| OKLab | oklab(25.62% 0.0222 -0.1224) |
| OKLCH | oklch(25.62% 0.124 280.3) |
| XYZ | xyz(2.6383, 1.4346, 10.2610) |
| Luminance | 0.0143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.25
Darkblue (survey)
#030764
ΔE00 3.58
Midnight Blue
#191970
ΔE00 3.81
Dark Blue
#00035B
ΔE00 3.92
Night Blue
#040348
ΔE00 4.53
Dark Royal Blue
#02066F
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D115C #505C11
analogous
#112B5C #1D115C #43115C
triadic
#1D115C #5C1D11 #115C1D
tetradic
#1D115C #5C112B #505C11 #115C43
square
#1D115C #5C112B #505C11 #115C43
split-complementary
#1D115C #5C4311 #2B5C11
monochromatic
#08051A #0D0728 #1D115C #2D1B90 #3E24C3
Accessibility & contrast
On white
16.32
#1D115C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#1D115C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D115C
16.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D115C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D115C | 1.00 | 16.32 | 1.29 | 16.32 |
| #FFFFFF | 16.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #1d115c; /* rgb */ color: rgb(29, 17, 92); /* oklch */ color: oklch(25.6% 0.124 280.3);
Tailwind
colors: {
custom: {
50: '#63518b',
500: '#1d115c',
950: '#000000',
},
}SCSS
$custom: #1d115c; $custom-light: #63518b; $custom-dark: #000000;
JSON
{
"hex": "#1d115c",
"rgb": {
"r": 29,
"g": 17,
"b": 92
},
"hsl": {
"h": 249.6,
"s": 68.807,
"l": 21.373
},
"oklch": {
"l": 0.25618,
"c": 0.12442,
"h": 280.3
},
"luminance": 0.01435
}Semantic roles & 50–950 ramp
primary
#1D115C
secondary
#859534
accent
#EC3CD0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D