#2C2189#2C2189
#2C2189 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.163 H 278.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2189 |
|---|---|
| RGB | rgb(44, 33, 137) |
| HSL | hsl(246, 61%, 33%) |
| HSV | hsv(246, 76%, 54%) |
| CMYK | cmyk(67.9%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(21.69, 37.71, -55.84) |
| CIE-LCH | lch(21.69, 67.38, 304.03°) |
| OKLab | oklab(34.13% 0.0229 -0.1613) |
| OKLCH | oklch(34.13% 0.163 278.1) |
| XYZ | xyz(6.0965, 3.4288, 24.0026) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.39
Midnight Blue
#191970
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 5.77
Indigo Blue
#3A18B1
ΔE00 6.14
Darkblue
#00008B
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2189 #7E8921
analogous
#214A89 #2C2189 #602189
triadic
#2C2189 #892C21 #21892C
tetradic
#2C2189 #89214A #7E8921 #218960
square
#2C2189 #89214A #7E8921 #218960
split-complementary
#2C2189 #896021 #4A8921
monochromatic
#0C0926 #1C1558 #2C2189 #3C2DBA #5E50D5
Accessibility & contrast
On white
12.46
#2C2189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C2189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2189
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2189 | 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)
#00388C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2189; /* rgb */ color: rgb(44, 33, 137); /* oklch */ color: oklch(34.1% 0.163 278.1);
Tailwind
colors: {
custom: {
50: '#735eac',
500: '#2c2189',
950: '#000000',
},
}SCSS
$custom: #2c2189; $custom-light: #735eac; $custom-dark: #000000;
JSON
{
"hex": "#2c2189",
"rgb": {
"r": 44,
"g": 33,
"b": 137
},
"hsl": {
"h": 246.346,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.34125,
"c": 0.1629,
"h": 278.1
},
"luminance": 0.03429
}Semantic roles & 50–950 ramp
primary
#2C2189
secondary
#ADB84E
accent
#E444D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F