#2C2E86#2C2E86
#2C2E86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.144 H 275.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E86 |
|---|---|
| RGB | rgb(44, 46, 134) |
| HSL | hsl(239, 51%, 35%) |
| HSV | hsv(239, 67%, 53%) |
| CMYK | cmyk(67.2%, 65.7%, 0%, 47.5%) |
| CIE-LAB | lab(24.35, 28.59, -49.59) |
| CIE-LCH | lch(24.35, 57.24, 299.97°) |
| OKLab | oklab(35.96% 0.0136 -0.143) |
| OKLCH | oklch(35.96% 0.144 275.4) |
| XYZ | xyz(6.3174, 4.2102, 23.0294) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.68
Sapphire (survey)
#2138AB
ΔE00 5.97
Midnight Blue
#191970
ΔE00 6.15
Blueberry
#464196
ΔE00 6.24
Royal
#0C1793
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E86 #86842C
analogous
#2C5B86 #2C2E86 #572C86
triadic
#2C2E86 #862C2E #2E862C
tetradic
#2C2E86 #862C5B #86842C #2C8657
square
#2C2E86 #862C5B #86842C #2C8657
split-complementary
#2C2E86 #86572C #5B862C
monochromatic
#0E0E2A #1D1E58 #2C2E86 #3B3EB4 #6164CB
Accessibility & contrast
On white
11.40
#2C2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C2E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E86
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E86 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2e86; /* rgb */ color: rgb(44, 46, 134); /* oklch */ color: oklch(36.0% 0.144 275.4);
Tailwind
colors: {
custom: {
50: '#7167aa',
500: '#2c2e86',
950: '#000000',
},
}SCSS
$custom: #2c2e86; $custom-light: #7167aa; $custom-dark: #000000;
JSON
{
"hex": "#2c2e86",
"rgb": {
"r": 44,
"g": 46,
"b": 134
},
"hsl": {
"h": 238.667,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.35957,
"c": 0.14362,
"h": 275.4
},
"luminance": 0.04211
}Semantic roles & 50–950 ramp
primary
#2C2E86
secondary
#B1B05C
accent
#D74EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F