#2C2E88#2C2E88
#2C2E88 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.146 H 275.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E88 |
|---|---|
| RGB | rgb(44, 46, 136) |
| HSL | hsl(239, 51%, 35%) |
| HSV | hsv(239, 68%, 53%) |
| CMYK | cmyk(67.6%, 66.2%, 0%, 46.7%) |
| CIE-LAB | lab(24.53, 29.32, -50.54) |
| CIE-LCH | lch(24.53, 58.43, 300.12°) |
| OKLab | oklab(36.14% 0.0135 -0.1458) |
| OKLCH | oklch(36.14% 0.146 275.3) |
| XYZ | xyz(6.4582, 4.2665, 23.7710) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 5.70
Blueberry
#464196
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.27
Royal
#0C1793
ΔE00 6.28
Indigo Blue
#3A18B1
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E88 #88862C
analogous
#2C5C88 #2C2E88 #582C88
triadic
#2C2E88 #882C2E #2E882C
tetradic
#2C2E88 #882C5C #88862C #2C8858
square
#2C2E88 #882C5C #88862C #2C8858
split-complementary
#2C2E88 #88582C #5C882C
monochromatic
#0E0F2C #1D1E5A #2C2E88 #3B3EB6 #6264CC
Accessibility & contrast
On white
11.33
#2C2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2C2E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E88
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E88 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2e88; /* rgb */ color: rgb(44, 46, 136); /* oklch */ color: oklch(36.1% 0.146 275.3);
Tailwind
colors: {
custom: {
50: '#7167ac',
500: '#2c2e88',
950: '#000000',
},
}SCSS
$custom: #2c2e88; $custom-light: #7167ac; $custom-dark: #000000;
JSON
{
"hex": "#2c2e88",
"rgb": {
"r": 44,
"g": 46,
"b": 136
},
"hsl": {
"h": 238.696,
"s": 51.111,
"l": 35.294
},
"oklch": {
"l": 0.36144,
"c": 0.1464,
"h": 275.3
},
"luminance": 0.04267
}Semantic roles & 50–950 ramp
primary
#2C2E88
secondary
#B3B15D
accent
#D84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F