#2C2188#2C2188
#2C2188 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.162 H 278.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2188 |
|---|---|
| RGB | rgb(44, 33, 136) |
| HSL | hsl(246, 61%, 33%) |
| HSV | hsv(246, 76%, 53%) |
| CMYK | cmyk(67.6%, 75.7%, 0%, 46.7%) |
| CIE-LAB | lab(21.58, 37.38, -55.39) |
| CIE-LCH | lch(21.58, 66.82, 304.01°) |
| OKLab | oklab(34.02% 0.0231 -0.1599) |
| OKLCH | oklch(34.02% 0.162 278.2) |
| XYZ | xyz(6.0251, 3.4003, 23.6266) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.47
Midnight Blue
#191970
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 5.57
Cobalt Blue
#030AA7
ΔE00 5.89
Darkblue
#00008B
ΔE00 6.20
Indigo Blue
#3A18B1
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2188 #7D8821
analogous
#214988 #2C2188 #5F2188
triadic
#2C2188 #882C21 #21882C
tetradic
#2C2188 #882149 #7D8821 #21885F
square
#2C2188 #882149 #7D8821 #21885F
split-complementary
#2C2188 #885F21 #498821
monochromatic
#0C0925 #1C1557 #2C2188 #3C2DB9 #5D4FD4
Accessibility & contrast
On white
12.50
#2C2188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2C2188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2188
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2188 | 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)
#00388B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2188; /* rgb */ color: rgb(44, 33, 136); /* oklch */ color: oklch(34.0% 0.162 278.2);
Tailwind
colors: {
custom: {
50: '#735eac',
500: '#2c2188',
950: '#000000',
},
}SCSS
$custom: #2c2188; $custom-light: #735eac; $custom-dark: #000000;
JSON
{
"hex": "#2c2188",
"rgb": {
"r": 44,
"g": 33,
"b": 136
},
"hsl": {
"h": 246.408,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.34019,
"c": 0.16161,
"h": 278.2
},
"luminance": 0.03401
}Semantic roles & 50–950 ramp
primary
#2C2188
secondary
#ACB84D
accent
#E444D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F