#1D1C8E#1D1C8E
#1D1C8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.178 H 271.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1C8E |
|---|---|
| RGB | rgb(29, 28, 142) |
| HSL | hsl(241, 67%, 33%) |
| HSV | hsv(241, 80%, 56%) |
| CMYK | cmyk(79.6%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(20.22, 40.76, -61.42) |
| CIE-LCH | lch(20.22, 73.72, 303.57°) |
| OKLab | oklab(32.98% 0.0044 -0.1778) |
| OKLCH | oklch(32.98% 0.178 271.4) |
| XYZ | xyz(5.8028, 3.0441, 25.8677) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.47
Cobalt Blue
#030AA7
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.65
Darkblue
#00008B
ΔE00 4.71
Royal Blue (survey)
#0504AA
ΔE00 4.84
Navy
#000080
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1C8E #8D8E1C
analogous
#1C548E #1D1C8E #561C8E
triadic
#1D1C8E #8E1D1C #1C8E1D
tetradic
#1D1C8E #8E1C54 #8D8E1C #1C8E56
square
#1D1C8E #8E1C54 #8D8E1C #1C8E56
split-complementary
#1D1C8E #8E561C #548E1C
monochromatic
#080828 #13125B #1D1C8E #2726C1 #4B49DB
Accessibility & contrast
On white
13.05
#1D1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1D1C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1C8E
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1C8E | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d1c8e; /* rgb */ color: rgb(29, 28, 142); /* oklch */ color: oklch(33.0% 0.178 271.4);
Tailwind
colors: {
custom: {
50: '#6f5bb0',
500: '#1d1c8e',
950: '#000000',
},
}SCSS
$custom: #1d1c8e; $custom-light: #6f5bb0; $custom-dark: #000000;
JSON
{
"hex": "#1d1c8e",
"rgb": {
"r": 29,
"g": 28,
"b": 142
},
"hsl": {
"h": 240.526,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.32984,
"c": 0.17786,
"h": 271.4
},
"luminance": 0.03045
}Semantic roles & 50–950 ramp
primary
#1D1C8E
secondary
#BCBD49
accent
#EA3EE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980