#2C2E9E#2C2E9E
#2C2E9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.176 H 273.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E9E |
|---|---|
| RGB | rgb(44, 46, 158) |
| HSL | hsl(239, 56%, 40%) |
| HSV | hsv(239, 72%, 62%) |
| CMYK | cmyk(72.2%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(26.61, 37.12, -60.69) |
| CIE-LCH | lch(26.61, 71.15, 301.45°) |
| OKLab | oklab(38.29% 0.0109 -0.1755) |
| OKLCH | oklch(38.29% 0.176 273.6) |
| XYZ | xyz(8.1852, 4.9573, 32.8666) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.52
Indigo Blue
#3A18B1
ΔE00 5.60
Royal
#0C1793
ΔE00 5.74
Blueberry
#464196
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.72
Cobalt Blue
#030AA7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E9E #9E9C2C
analogous
#2C679E #2C2E9E #632C9E
triadic
#2C2E9E #9E2C2E #2E9E2C
tetradic
#2C2E9E #9E2C67 #9E9C2C #2C9E63
square
#2C2E9E #9E2C67 #9E9C2C #2C9E63
split-complementary
#2C2E9E #9E632C #679E2C
monochromatic
#11123E #1F206E #2C2E9E #3E40C9 #6E70D7
Accessibility & contrast
On white
10.54
#2C2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2C2E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E9E
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E9E | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2e9e; /* rgb */ color: rgb(44, 46, 158); /* oklch */ color: oklch(38.3% 0.176 273.6);
Tailwind
colors: {
custom: {
50: '#7767bc',
500: '#2c2e9e',
950: '#000000',
},
}SCSS
$custom: #2c2e9e; $custom-light: #7767bc; $custom-dark: #000000;
JSON
{
"hex": "#2c2e9e",
"rgb": {
"r": 44,
"g": 46,
"b": 158
},
"hsl": {
"h": 238.947,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.38286,
"c": 0.17582,
"h": 273.6
},
"luminance": 0.04958
}Semantic roles & 50–950 ramp
primary
#2C2E9E
secondary
#BEBC68
accent
#DD48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81