#1D1C7D#1D1C7D
#1D1C7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.156 H 272.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1C7D |
|---|---|
| RGB | rgb(29, 28, 125) |
| HSL | hsl(241, 63%, 30%) |
| HSV | hsv(241, 78%, 49%) |
| CMYK | cmyk(76.8%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(18.24, 34.92, -53.99) |
| CIE-LCH | lch(18.24, 64.30, 302.89°) |
| OKLab | oklab(31.01% 0.008 -0.1562) |
| OKLCH | oklch(31.01% 0.156 272.9) |
| XYZ | xyz(4.6224, 2.5719, 19.6509) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.12
Royal
#0C1793
ΔE00 3.55
Dark Royal Blue
#02066F
ΔE00 4.98
Navy
#000080
ΔE00 5.31
Deep Blue
#040273
ΔE00 5.35
Darkblue
#00008B
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1C7D #7C7D1C
analogous
#1C4B7D #1D1C7D #4E1C7D
triadic
#1D1C7D #7D1D1C #1C7D1D
tetradic
#1D1C7D #7D1C4B #7C7D1C #1C7D4E
square
#1D1C7D #7D1C4B #7C7D1C #1C7D4E
split-complementary
#1D1C7D #7D4E1C #4B7D1C
monochromatic
#060619 #11114B #1D1C7D #2927AF #413FD4
Accessibility & contrast
On white
13.87
#1D1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1D1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1C7D
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1C7D | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1d1c7d; /* rgb */ color: rgb(29, 28, 125); /* oklch */ color: oklch(31.0% 0.156 272.9);
Tailwind
colors: {
custom: {
50: '#6a5aa4',
500: '#1d1c7d',
950: '#000000',
},
}SCSS
$custom: #1d1c7d; $custom-light: #6a5aa4; $custom-dark: #000000;
JSON
{
"hex": "#1d1c7d",
"rgb": {
"r": 29,
"g": 28,
"b": 125
},
"hsl": {
"h": 240.619,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.3101,
"c": 0.15643,
"h": 272.9
},
"luminance": 0.02572
}Semantic roles & 50–950 ramp
primary
#1D1C7D
secondary
#B0B144
accent
#E641E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F