#2C2182#2C2182
#2C2182 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.154 H 279.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2182 |
|---|---|
| RGB | rgb(44, 33, 130) |
| HSL | hsl(247, 60%, 32%) |
| HSV | hsv(247, 75%, 51%) |
| CMYK | cmyk(66.2%, 74.6%, 0%, 49%) |
| CIE-LAB | lab(20.96, 35.37, -52.64) |
| CIE-LCH | lch(20.96, 63.42, 303.90°) |
| OKLab | oklab(33.39% 0.0244 -0.1519) |
| OKLCH | oklch(33.39% 0.154 279.1) |
| XYZ | xyz(5.6105, 3.2344, 21.4434) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.71
Royal
#0C1793
ΔE00 4.07
Indigo (survey)
#380282
ΔE00 5.64
Darkblue
#00008B
ΔE00 6.46
Cobalt Blue
#030AA7
ΔE00 6.65
Navy
#000080
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2182 #778221
analogous
#214782 #2C2182 #5D2182
triadic
#2C2182 #822C21 #21822C
tetradic
#2C2182 #822147 #778221 #21825D
square
#2C2182 #822147 #778221 #21825D
split-complementary
#2C2182 #825D21 #478221
monochromatic
#0B0820 #1B1551 #2C2182 #3D2DB3 #5B4CD2
Accessibility & contrast
On white
12.75
#2C2182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2C2182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2182
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2182 | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c2182; /* rgb */ color: rgb(44, 33, 130); /* oklch */ color: oklch(33.4% 0.154 279.1);
Tailwind
colors: {
custom: {
50: '#715ea7',
500: '#2c2182',
950: '#000000',
},
}SCSS
$custom: #2c2182; $custom-light: #715ea7; $custom-dark: #000000;
JSON
{
"hex": "#2c2182",
"rgb": {
"r": 44,
"g": 33,
"b": 130
},
"hsl": {
"h": 246.804,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.33391,
"c": 0.15387,
"h": 279.1
},
"luminance": 0.03235
}Semantic roles & 50–950 ramp
primary
#2C2182
secondary
#A8B44A
accent
#E345D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F