#2C2EA5#2C2EA5
#2C2EA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.185 H 273.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2EA5 |
|---|---|
| RGB | rgb(44, 46, 165) |
| HSL | hsl(239, 58%, 41%) |
| HSV | hsv(239, 73%, 65%) |
| CMYK | cmyk(73.3%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(27.31, 39.55, -63.79) |
| CIE-LCH | lch(27.31, 75.05, 301.80°) |
| OKLab | oklab(39% 0.0099 -0.1845) |
| OKLCH | oklch(39% 0.185 273.1) |
| XYZ | xyz(8.8050, 5.2052, 36.1307) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Indigo Blue
#3A18B1
ΔE00 5.06
Royal
#0C1793
ΔE00 6.03
Blueberry
#464196
ΔE00 6.59
True Blue
#010FCC
ΔE00 6.72
Ocean Blue
#4F42B5
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2EA5 #A5A32C
analogous
#2C6AA5 #2C2EA5 #662CA5
triadic
#2C2EA5 #A52C2E #2EA52C
tetradic
#2C2EA5 #A52C6A #A5A32C #2CA566
square
#2C2EA5 #A52C6A #A5A32C #2CA566
split-complementary
#2C2EA5 #A5662C #6AA52C
monochromatic
#121344 #1F2175 #2C2EA5 #4244CD #7274D9
Accessibility & contrast
On white
10.29
#2C2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2C2EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2EA5
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2EA5 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c2ea5; /* rgb */ color: rgb(44, 46, 165); /* oklch */ color: oklch(39.0% 0.185 273.1);
Tailwind
colors: {
custom: {
50: '#7868c1',
500: '#2c2ea5',
950: '#000000',
},
}SCSS
$custom: #2c2ea5; $custom-light: #7868c1; $custom-dark: #000000;
JSON
{
"hex": "#2c2ea5",
"rgb": {
"r": 44,
"g": 46,
"b": 165
},
"hsl": {
"h": 239.008,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.38998,
"c": 0.18479,
"h": 273.1
},
"luminance": 0.05206
}Semantic roles & 50–950 ramp
primary
#2C2EA5
secondary
#C1BF6C
accent
#DF47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81