#1D1C8D#1D1C8D
#1D1C8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.177 H 271.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1C8D |
|---|---|
| RGB | rgb(29, 28, 141) |
| HSL | hsl(241, 67%, 33%) |
| HSV | hsv(241, 80%, 55%) |
| CMYK | cmyk(79.4%, 80.1%, 0%, 44.7%) |
| CIE-LAB | lab(20.10, 40.42, -60.99) |
| CIE-LCH | lch(20.10, 73.17, 303.53°) |
| OKLab | oklab(32.87% 0.0046 -0.1766) |
| OKLCH | oklch(32.87% 0.177 271.5) |
| XYZ | xyz(5.7280, 3.0142, 25.4740) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.54
Cobalt Blue
#030AA7
ΔE00 4.37
Midnight Blue
#191970
ΔE00 4.50
Darkblue
#00008B
ΔE00 4.71
Royal Blue (survey)
#0504AA
ΔE00 4.95
Navy
#000080
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1C8D #8C8D1C
analogous
#1C538D #1D1C8D #551C8D
triadic
#1D1C8D #8D1D1C #1C8D1D
tetradic
#1D1C8D #8D1C53 #8C8D1C #1C8D55
square
#1D1C8D #8D1C53 #8C8D1C #1C8D55
split-complementary
#1D1C8D #8D551C #538D1C
monochromatic
#080827 #12125A #1D1C8D #2826C0 #4A49DB
Accessibility & contrast
On white
13.10
#1D1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1D1C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1C8D
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1C8D | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d1c8d; /* rgb */ color: rgb(29, 28, 141); /* oklch */ color: oklch(32.9% 0.177 271.5);
Tailwind
colors: {
custom: {
50: '#6f5bb0',
500: '#1d1c8d',
950: '#000000',
},
}SCSS
$custom: #1d1c8d; $custom-light: #6f5bb0; $custom-dark: #000000;
JSON
{
"hex": "#1d1c8d",
"rgb": {
"r": 29,
"g": 28,
"b": 141
},
"hsl": {
"h": 240.531,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.32866,
"c": 0.17664,
"h": 271.5
},
"luminance": 0.03015
}Semantic roles & 50–950 ramp
primary
#1D1C8D
secondary
#BCBD48
accent
#EA3EE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980