#2A2C8E#2A2C8E
#2A2C8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.158 H 274.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C8E |
|---|---|
| RGB | rgb(42, 44, 142) |
| HSL | hsl(239, 54%, 36%) |
| HSV | hsv(239, 70%, 56%) |
| CMYK | cmyk(70.4%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(24.47, 32.49, -54.39) |
| CIE-LCH | lch(24.47, 63.35, 300.85°) |
| OKLab | oklab(36.23% 0.0119 -0.1571) |
| OKLCH | oklch(36.23% 0.158 274.3) |
| XYZ | xyz(6.7364, 4.2460, 26.0505) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.20
Royal
#0C1793
ΔE00 5.33
Midnight Blue
#191970
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.35
Blueberry
#464196
ΔE00 6.59
Indigo Blue
#3A18B1
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C8E #8E8C2A
analogous
#2A5E8E #2A2C8E #5A2A8E
triadic
#2A2C8E #8E2A2C #2C8E2A
tetradic
#2A2C8E #8E2A5E #8E8C2A #2A8E5A
square
#2A2C8E #8E2A5E #8E8C2A #2A8E5A
split-complementary
#2A2C8E #8E5A2A #5E8E2A
monochromatic
#0E0F30 #1C1D5F #2A2C8E #383BBD #6264D1
Accessibility & contrast
On white
11.36
#2A2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2A2C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C8E
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C8E | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a2c8e; /* rgb */ color: rgb(42, 44, 142); /* oklch */ color: oklch(36.2% 0.158 274.3);
Tailwind
colors: {
custom: {
50: '#7265b0',
500: '#2a2c8e',
950: '#000000',
},
}SCSS
$custom: #2a2c8e; $custom-light: #7265b0; $custom-dark: #000000;
JSON
{
"hex": "#2a2c8e",
"rgb": {
"r": 42,
"g": 44,
"b": 142
},
"hsl": {
"h": 238.8,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.36231,
"c": 0.15756,
"h": 274.3
},
"luminance": 0.04247
}Semantic roles & 50–950 ramp
primary
#2A2C8E
secondary
#B6B55D
accent
#DB4ADE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80