#2C2288#2C2288
#2C2288 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.161 H 278.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2288 |
|---|---|
| RGB | rgb(44, 34, 136) |
| HSL | hsl(246, 60%, 33%) |
| HSV | hsv(246, 75%, 53%) |
| CMYK | cmyk(67.6%, 75%, 0%, 46.7%) |
| CIE-LAB | lab(21.79, 36.80, -55.05) |
| CIE-LCH | lch(21.79, 66.22, 303.76°) |
| OKLab | oklab(34.17% 0.0225 -0.159) |
| OKLCH | oklch(34.17% 0.161 278) |
| XYZ | xyz(6.0532, 3.4566, 23.6360) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.62
Midnight Blue
#191970
ΔE00 4.46
Indigo (survey)
#380282
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 6.05
Indigo Blue
#3A18B1
ΔE00 6.37
Darkblue
#00008B
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2288 #7E8822
analogous
#224B88 #2C2288 #5F2288
triadic
#2C2288 #882C22 #22882C
tetradic
#2C2288 #88224B #7E8822 #22885F
square
#2C2288 #88224B #7E8822 #22885F
split-complementary
#2C2288 #885F22 #4B8822
monochromatic
#0C0A26 #1C1657 #2C2288 #3C2EB9 #5E51D3
Accessibility & contrast
On white
12.42
#2C2288 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C2288 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2288
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2288 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2288 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2288; /* rgb */ color: rgb(44, 34, 136); /* oklch */ color: oklch(34.2% 0.161 278.0);
Tailwind
colors: {
custom: {
50: '#735fac',
500: '#2c2288',
950: '#000000',
},
}SCSS
$custom: #2c2288; $custom-light: #735fac; $custom-dark: #000000;
JSON
{
"hex": "#2c2288",
"rgb": {
"r": 44,
"g": 34,
"b": 136
},
"hsl": {
"h": 245.882,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.34165,
"c": 0.16055,
"h": 278
},
"luminance": 0.03457
}Semantic roles & 50–950 ramp
primary
#2C2288
secondary
#ADB74F
accent
#E345D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F