#2C2EA1#2C2EA1
#2C2EA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.180 H 273.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2EA1 |
|---|---|
| RGB | rgb(44, 46, 161) |
| HSL | hsl(239, 57%, 40%) |
| HSV | hsv(239, 73%, 63%) |
| CMYK | cmyk(72.7%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(26.91, 38.17, -62.03) |
| CIE-LCH | lch(26.91, 72.83, 301.61°) |
| OKLab | oklab(38.59% 0.0105 -0.1794) |
| OKLCH | oklch(38.59% 0.18 273.3) |
| XYZ | xyz(8.4466, 5.0618, 34.2432) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Indigo Blue
#3A18B1
ΔE00 5.35
Royal
#0C1793
ΔE00 5.85
Blueberry
#464196
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.89
Darkslateblue
#483D8B
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2EA1 #A19F2C
analogous
#2C69A1 #2C2EA1 #642CA1
triadic
#2C2EA1 #A12C2E #2EA12C
tetradic
#2C2EA1 #A12C69 #A19F2C #2CA164
square
#2C2EA1 #A12C69 #A19F2C #2CA164
split-complementary
#2C2EA1 #A1642C #69A12C
monochromatic
#121341 #1F2071 #2C2EA1 #4042CB #7071D8
Accessibility & contrast
On white
10.43
#2C2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2C2EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2EA1
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2EA1 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c2ea1; /* rgb */ color: rgb(44, 46, 161); /* oklch */ color: oklch(38.6% 0.180 273.3);
Tailwind
colors: {
custom: {
50: '#7768be',
500: '#2c2ea1',
950: '#000000',
},
}SCSS
$custom: #2c2ea1; $custom-light: #7768be; $custom-dark: #000000;
JSON
{
"hex": "#2c2ea1",
"rgb": {
"r": 44,
"g": 46,
"b": 161
},
"hsl": {
"h": 238.974,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.38589,
"c": 0.17969,
"h": 273.3
},
"luminance": 0.05063
}Semantic roles & 50–950 ramp
primary
#2C2EA1
secondary
#BFBE6A
accent
#DE47E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81