#2C2287#2C2287
#2C2287 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.159 H 278.2°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2287 |
|---|---|
| RGB | rgb(44, 34, 135) |
| HSL | hsl(246, 60%, 33%) |
| HSV | hsv(246, 75%, 53%) |
| CMYK | cmyk(67.4%, 74.8%, 0%, 47.1%) |
| CIE-LAB | lab(21.68, 36.46, -54.59) |
| CIE-LCH | lch(21.68, 65.65, 303.74°) |
| OKLab | oklab(34.06% 0.0227 -0.1576) |
| OKLCH | oklch(34.06% 0.159 278.2) |
| XYZ | xyz(5.9825, 3.4283, 23.2634) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.70
Midnight Blue
#191970
ΔE00 4.34
Indigo (survey)
#380282
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 6.17
Darkblue
#00008B
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2287 #7D8722
analogous
#224A87 #2C2287 #5E2287
triadic
#2C2287 #872C22 #22872C
tetradic
#2C2287 #87224A #7D8722 #22875E
square
#2C2287 #87224A #7D8722 #22875E
split-complementary
#2C2287 #875E22 #4A8722
monochromatic
#0C0925 #1C1656 #2C2287 #3C2EB8 #5D50D3
Accessibility & contrast
On white
12.46
#2C2287 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C2287 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2287
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2287 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2287 | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2287; /* rgb */ color: rgb(44, 34, 135); /* oklch */ color: oklch(34.1% 0.159 278.2);
Tailwind
colors: {
custom: {
50: '#725fab',
500: '#2c2287',
950: '#000000',
},
}SCSS
$custom: #2c2287; $custom-light: #725fab; $custom-dark: #000000;
JSON
{
"hex": "#2c2287",
"rgb": {
"r": 44,
"g": 34,
"b": 135
},
"hsl": {
"h": 245.941,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.34061,
"c": 0.15925,
"h": 278.2
},
"luminance": 0.03429
}Semantic roles & 50–950 ramp
primary
#2C2287
secondary
#ACB74E
accent
#E345D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F