#2C2186#2C2186
#2C2186 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.159 H 278.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2186 |
|---|---|
| RGB | rgb(44, 33, 134) |
| HSL | hsl(247, 60%, 33%) |
| HSV | hsv(247, 75%, 53%) |
| CMYK | cmyk(67.2%, 75.4%, 0%, 47.5%) |
| CIE-LAB | lab(21.37, 36.71, -54.48) |
| CIE-LCH | lch(21.37, 65.69, 303.98°) |
| OKLab | oklab(33.81% 0.0236 -0.1573) |
| OKLCH | oklch(33.81% 0.159 278.5) |
| XYZ | xyz(5.8843, 3.3439, 22.8850) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.65
Midnight Blue
#191970
ΔE00 4.17
Indigo (survey)
#380282
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 6.13
Darkblue
#00008B
ΔE00 6.27
Indigo Blue
#3A18B1
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2186 #7B8621
analogous
#214886 #2C2186 #5F2186
triadic
#2C2186 #862C21 #21862C
tetradic
#2C2186 #862148 #7B8621 #21865F
square
#2C2186 #862148 #7B8621 #21865F
split-complementary
#2C2186 #865F21 #488621
monochromatic
#0C0924 #1C1555 #2C2186 #3C2DB7 #5D4ED3
Accessibility & contrast
On white
12.58
#2C2186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2C2186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2186
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2186 | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2c2186; /* rgb */ color: rgb(44, 33, 134); /* oklch */ color: oklch(33.8% 0.159 278.5);
Tailwind
colors: {
custom: {
50: '#725eaa',
500: '#2c2186',
950: '#000000',
},
}SCSS
$custom: #2c2186; $custom-light: #725eaa; $custom-dark: #000000;
JSON
{
"hex": "#2c2186",
"rgb": {
"r": 44,
"g": 33,
"b": 134
},
"hsl": {
"h": 246.535,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.33808,
"c": 0.15904,
"h": 278.5
},
"luminance": 0.03344
}Semantic roles & 50–950 ramp
primary
#2C2186
secondary
#ABB74C
accent
#E444D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F