#2C2E89#2C2E89
#2C2E89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.148 H 275.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E89 |
|---|---|
| RGB | rgb(44, 46, 137) |
| HSL | hsl(239, 51%, 35%) |
| HSV | hsv(239, 68%, 54%) |
| CMYK | cmyk(67.9%, 66.4%, 0%, 46.3%) |
| CIE-LAB | lab(24.62, 29.68, -51.02) |
| CIE-LCH | lch(24.62, 59.02, 300.19°) |
| OKLab | oklab(36.24% 0.0134 -0.1472) |
| OKLCH | oklch(36.24% 0.148 275.2) |
| XYZ | xyz(6.5296, 4.2950, 24.1470) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 5.72
Blueberry
#464196
ΔE00 6.15
Royal
#0C1793
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.33
Indigo Blue
#3A18B1
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E89 #89872C
analogous
#2C5C89 #2C2E89 #592C89
triadic
#2C2E89 #892C2E #2E892C
tetradic
#2C2E89 #892C5C #89872C #2C8959
square
#2C2E89 #892C5C #89872C #2C8959
split-complementary
#2C2E89 #89592C #5C892C
monochromatic
#0E0F2C #1D1E5B #2C2E89 #3B3EB7 #6365CD
Accessibility & contrast
On white
11.30
#2C2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C2E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E89
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E89 | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2e89; /* rgb */ color: rgb(44, 46, 137); /* oklch */ color: oklch(36.2% 0.148 275.2);
Tailwind
colors: {
custom: {
50: '#7267ac',
500: '#2c2e89',
950: '#000000',
},
}SCSS
$custom: #2c2e89; $custom-light: #7267ac; $custom-dark: #000000;
JSON
{
"hex": "#2c2e89",
"rgb": {
"r": 44,
"g": 46,
"b": 137
},
"hsl": {
"h": 238.71,
"s": 51.381,
"l": 35.49
},
"oklch": {
"l": 0.36237,
"c": 0.14779,
"h": 275.2
},
"luminance": 0.04296
}Semantic roles & 50–950 ramp
primary
#2C2E89
secondary
#B3B15E
accent
#D84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F