#2D1C88#2D1C88
#2D1C88 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.166 H 279.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1C88 |
|---|---|
| RGB | rgb(45, 28, 136) |
| HSL | hsl(249, 66%, 32%) |
| HSV | hsv(249, 79%, 53%) |
| CMYK | cmyk(66.9%, 79.4%, 0%, 46.7%) |
| CIE-LAB | lab(20.69, 40.25, -56.85) |
| CIE-LCH | lch(20.69, 69.66, 305.30°) |
| OKLab | oklab(33.42% 0.0277 -0.1641) |
| OKLCH | oklch(33.42% 0.166 279.6) |
| XYZ | xyz(5.9400, 3.1655, 23.5858) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.07
Indigo (survey)
#380282
ΔE00 4.40
Midnight Blue
#191970
ΔE00 4.41
Darkblue
#00008B
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 5.28
Navy
#000080
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1C88 #77881C
analogous
#1C4188 #2D1C88 #631C88
triadic
#2D1C88 #882D1C #1C882D
tetradic
#2D1C88 #881C41 #77881C #1C8863
square
#2D1C88 #881C41 #77881C #1C8863
split-complementary
#2D1C88 #88631C #41881C
monochromatic
#0B0722 #1C1255 #2D1C88 #3E26BB #5D46D9
Accessibility & contrast
On white
12.86
#2D1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2D1C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1C88
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1C88 | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2d1c88; /* rgb */ color: rgb(45, 28, 136); /* oklch */ color: oklch(33.4% 0.166 279.6);
Tailwind
colors: {
custom: {
50: '#745bac',
500: '#2d1c88',
950: '#000000',
},
}SCSS
$custom: #2d1c88; $custom-light: #745bac; $custom-dark: #000000;
JSON
{
"hex": "#2d1c88",
"rgb": {
"r": 45,
"g": 28,
"b": 136
},
"hsl": {
"h": 249.444,
"s": 65.854,
"l": 32.157
},
"oklch": {
"l": 0.33417,
"c": 0.16645,
"h": 279.6
},
"luminance": 0.03166
}Semantic roles & 50–950 ramp
primary
#2D1C88
secondary
#A8BA45
accent
#E93FCE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F