#2C2286#2C2286
#2C2286 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.158 H 278.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2286 |
|---|---|
| RGB | rgb(44, 34, 134) |
| HSL | hsl(246, 60%, 33%) |
| HSV | hsv(246, 75%, 53%) |
| CMYK | cmyk(67.2%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(21.58, 36.13, -54.13) |
| CIE-LCH | lch(21.58, 65.08, 303.72°) |
| OKLab | oklab(33.96% 0.0229 -0.1563) |
| OKLCH | oklch(33.96% 0.158 278.3) |
| XYZ | xyz(5.9124, 3.4003, 22.8944) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.79
Midnight Blue
#191970
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 6.29
Darkblue
#00008B
ΔE00 6.49
Indigo Blue
#3A18B1
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2286 #7C8622
analogous
#224A86 #2C2286 #5E2286
triadic
#2C2286 #862C22 #22862C
tetradic
#2C2286 #86224A #7C8622 #22865E
square
#2C2286 #86224A #7C8622 #22865E
split-complementary
#2C2286 #865E22 #4A8622
monochromatic
#0C0924 #1C1655 #2C2286 #3C2EB7 #5D50D3
Accessibility & contrast
On white
12.50
#2C2286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2C2286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2286
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2286 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2286; /* rgb */ color: rgb(44, 34, 134); /* oklch */ color: oklch(34.0% 0.158 278.3);
Tailwind
colors: {
custom: {
50: '#725faa',
500: '#2c2286',
950: '#000000',
},
}SCSS
$custom: #2c2286; $custom-light: #725faa; $custom-dark: #000000;
JSON
{
"hex": "#2c2286",
"rgb": {
"r": 44,
"g": 34,
"b": 134
},
"hsl": {
"h": 246,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.33956,
"c": 0.15796,
"h": 278.3
},
"luminance": 0.03401
}Semantic roles & 50–950 ramp
primary
#2C2286
secondary
#ACB64E
accent
#E345D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F