#2C2388#2C2388
#2C2388 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.159 H 277.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2388 |
|---|---|
| RGB | rgb(44, 35, 136) |
| HSL | hsl(245, 59%, 34%) |
| HSV | hsv(245, 74%, 53%) |
| CMYK | cmyk(67.6%, 74.3%, 0%, 46.7%) |
| CIE-LAB | lab(22.00, 36.21, -54.70) |
| CIE-LCH | lch(22.00, 65.60, 303.50°) |
| OKLab | oklab(34.32% 0.0218 -0.158) |
| OKLCH | oklch(34.32% 0.159 277.9) |
| XYZ | xyz(6.0822, 3.5146, 23.6456) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.78
Midnight Blue
#191970
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.22
Indigo Blue
#3A18B1
ΔE00 6.46
Darkblue
#00008B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2388 #7F8823
analogous
#234C88 #2C2388 #5E2388
triadic
#2C2388 #882C23 #23882C
tetradic
#2C2388 #88234C #7F8823 #23885E
square
#2C2388 #88234C #7F8823 #23885E
split-complementary
#2C2388 #885E23 #4C8823
monochromatic
#0D0A27 #1C1657 #2C2388 #3C30B9 #5E53D3
Accessibility & contrast
On white
12.33
#2C2388 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2C2388 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2388
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2388 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2388 | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c2388; /* rgb */ color: rgb(44, 35, 136); /* oklch */ color: oklch(34.3% 0.159 277.9);
Tailwind
colors: {
custom: {
50: '#725fac',
500: '#2c2388',
950: '#000000',
},
}SCSS
$custom: #2c2388; $custom-light: #725fac; $custom-dark: #000000;
JSON
{
"hex": "#2c2388",
"rgb": {
"r": 44,
"g": 35,
"b": 136
},
"hsl": {
"h": 245.347,
"s": 59.064,
"l": 33.529
},
"oklch": {
"l": 0.34315,
"c": 0.15945,
"h": 277.9
},
"luminance": 0.03515
}Semantic roles & 50–950 ramp
primary
#2C2388
secondary
#ADB750
accent
#E246D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F