#2C2E8E#2C2E8E
#2C2E8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.155 H 274.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E8E |
|---|---|
| RGB | rgb(44, 46, 142) |
| HSL | hsl(239, 53%, 36%) |
| HSV | hsv(239, 69%, 56%) |
| CMYK | cmyk(69%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(25.08, 31.47, -53.38) |
| CIE-LCH | lch(25.08, 61.96, 300.52°) |
| OKLab | oklab(36.71% 0.0129 -0.1541) |
| OKLCH | oklch(36.71% 0.155 274.8) |
| XYZ | xyz(6.8966, 4.4418, 26.0799) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.96
Darkslateblue
#483D8B
ΔE00 5.86
Royal
#0C1793
ΔE00 5.90
Blueberry
#464196
ΔE00 6.06
Midnight Blue
#191970
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E8E #8E8C2C
analogous
#2C5F8E #2C2E8E #5B2C8E
triadic
#2C2E8E #8E2C2E #2E8E2C
tetradic
#2C2E8E #8E2C5F #8E8C2C #2C8E5B
square
#2C2E8E #8E2C5F #8E8C2C #2C8E5B
split-complementary
#2C2E8E #8E5B2C #5F8E2C
monochromatic
#0F1031 #1E1F5F #2C2E8E #3A3DBD #6567CF
Accessibility & contrast
On white
11.12
#2C2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2C2E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E8E
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E8E | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2e8e; /* rgb */ color: rgb(44, 46, 142); /* oklch */ color: oklch(36.7% 0.155 274.8);
Tailwind
colors: {
custom: {
50: '#7367b0',
500: '#2c2e8e',
950: '#000000',
},
}SCSS
$custom: #2c2e8e; $custom-light: #7367b0; $custom-dark: #000000;
JSON
{
"hex": "#2c2e8e",
"rgb": {
"r": 44,
"g": 46,
"b": 142
},
"hsl": {
"h": 238.776,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.36712,
"c": 0.15463,
"h": 274.8
},
"luminance": 0.04442
}Semantic roles & 50–950 ramp
primary
#2C2E8E
secondary
#B6B460
accent
#D94CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80