#2C2185#2C2185
#2C2185 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.158 H 278.7°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2185 |
|---|---|
| RGB | rgb(44, 33, 133) |
| HSL | hsl(247, 60%, 33%) |
| HSV | hsv(247, 75%, 52%) |
| CMYK | cmyk(66.9%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(21.27, 36.38, -54.02) |
| CIE-LCH | lch(21.27, 65.13, 303.96°) |
| OKLab | oklab(33.7% 0.0238 -0.156) |
| OKLCH | oklch(33.7% 0.158 278.7) |
| XYZ | xyz(5.8148, 3.3162, 22.5194) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.74
Midnight Blue
#191970
ΔE00 4.05
Indigo (survey)
#380282
ΔE00 5.59
Cobalt Blue
#030AA7
ΔE00 6.26
Darkblue
#00008B
ΔE00 6.31
Navy
#000080
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2185 #7A8521
analogous
#214885 #2C2185 #5E2185
triadic
#2C2185 #852C21 #21852C
tetradic
#2C2185 #852148 #7A8521 #21855E
square
#2C2185 #852148 #7A8521 #21855E
split-complementary
#2C2185 #855E21 #488521
monochromatic
#0C0923 #1C1554 #2C2185 #3C2DB6 #5C4DD3
Accessibility & contrast
On white
12.62
#2C2185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2C2185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2185
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2185 | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2c2185; /* rgb */ color: rgb(44, 33, 133); /* oklch */ color: oklch(33.7% 0.158 278.7);
Tailwind
colors: {
custom: {
50: '#725eaa',
500: '#2c2185',
950: '#000000',
},
}SCSS
$custom: #2c2185; $custom-light: #725eaa; $custom-dark: #000000;
JSON
{
"hex": "#2c2185",
"rgb": {
"r": 44,
"g": 33,
"b": 133
},
"hsl": {
"h": 246.6,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.33704,
"c": 0.15776,
"h": 278.7
},
"luminance": 0.03317
}Semantic roles & 50–950 ramp
primary
#2C2185
secondary
#AAB64C
accent
#E344D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F