#2C2086#2C2086
#2C2086 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.160 H 278.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2086 |
|---|---|
| RGB | rgb(44, 32, 134) |
| HSL | hsl(247, 61%, 33%) |
| HSV | hsv(247, 76%, 53%) |
| CMYK | cmyk(67.2%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.17, 37.29, -54.82) |
| CIE-LCH | lch(21.17, 66.30, 304.23°) |
| OKLab | oklab(33.66% 0.0242 -0.1583) |
| OKLCH | oklch(33.66% 0.16 278.7) |
| XYZ | xyz(5.8569, 3.2892, 22.8759) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.52
Midnight Blue
#191970
ΔE00 4.12
Indigo (survey)
#380282
ΔE00 5.34
Cobalt Blue
#030AA7
ΔE00 5.98
Darkblue
#00008B
ΔE00 6.05
Navy
#000080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2086 #7A8620
analogous
#204786 #2C2086 #5F2086
triadic
#2C2086 #862C20 #20862C
tetradic
#2C2086 #862047 #7A8620 #20865F
square
#2C2086 #862047 #7A8620 #20865F
split-complementary
#2C2086 #865F20 #478620
monochromatic
#0C0823 #1C1455 #2C2086 #3C2CB7 #5C4CD4
Accessibility & contrast
On white
12.67
#2C2086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2C2086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2086
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2086 | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 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: #2c2086; /* rgb */ color: rgb(44, 32, 134); /* oklch */ color: oklch(33.7% 0.160 278.7);
Tailwind
colors: {
custom: {
50: '#725daa',
500: '#2c2086',
950: '#000000',
},
}SCSS
$custom: #2c2086; $custom-light: #725daa; $custom-dark: #000000;
JSON
{
"hex": "#2c2086",
"rgb": {
"r": 44,
"g": 32,
"b": 134
},
"hsl": {
"h": 247.059,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.33663,
"c": 0.16011,
"h": 278.7
},
"luminance": 0.0329
}Semantic roles & 50–950 ramp
primary
#2C2086
secondary
#AAB74B
accent
#E543D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F