#2C2EAE#2C2EAE
#2C2EAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.196 H 272.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2EAE |
|---|---|
| RGB | rgb(44, 46, 174) |
| HSL | hsl(239, 60%, 43%) |
| HSV | hsv(239, 75%, 68%) |
| CMYK | cmyk(74.7%, 73.6%, 0%, 31.8%) |
| CIE-LAB | lab(28.23, 42.62, -67.69) |
| CIE-LCH | lch(28.23, 79.99, 302.20°) |
| OKLab | oklab(39.93% 0.0085 -0.1959) |
| OKLCH | oklch(39.93% 0.196 272.5) |
| XYZ | xyz(9.6531, 5.5445, 40.5976) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Indigo Blue
#3A18B1
ΔE00 4.65
True Blue
#010FCC
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 6.36
Ocean Blue
#4F42B5
ΔE00 6.40
Royal
#0C1793
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2EAE #AEAC2C
analogous
#2C6FAE #2C2EAE #6B2CAE
triadic
#2C2EAE #AE2C2E #2EAE2C
tetradic
#2C2EAE #AE2C6F #AEAC2C #2CAE6B
square
#2C2EAE #AE2C6F #AEAC2C #2CAE6B
split-complementary
#2C2EAE #AE6B2C #6FAE2C
monochromatic
#13144C #20217D #2C2EAE #4749D0 #7879DD
Accessibility & contrast
On white
9.96
#2C2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2C2EAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2EAE
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2EAE | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c2eae; /* rgb */ color: rgb(44, 46, 174); /* oklch */ color: oklch(39.9% 0.196 272.5);
Tailwind
colors: {
custom: {
50: '#7a68c7',
500: '#2c2eae',
950: '#000000',
},
}SCSS
$custom: #2c2eae; $custom-light: #7a68c7; $custom-dark: #000000;
JSON
{
"hex": "#2c2eae",
"rgb": {
"r": 44,
"g": 46,
"b": 174
},
"hsl": {
"h": 239.077,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.39932,
"c": 0.19606,
"h": 272.5
},
"luminance": 0.05545
}Semantic roles & 50–950 ramp
primary
#2C2EAE
secondary
#C5C371
accent
#E045E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82