#2A2C82#2A2C82
#2A2C82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.141 H 275.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C82 |
|---|---|
| RGB | rgb(42, 44, 130) |
| HSL | hsl(239, 51%, 34%) |
| HSV | hsv(239, 68%, 51%) |
| CMYK | cmyk(67.7%, 66.2%, 0%, 49%) |
| CIE-LAB | lab(23.35, 28.16, -48.72) |
| CIE-LCH | lch(23.35, 56.27, 300.03°) |
| OKLab | oklab(35.08% 0.0131 -0.1405) |
| OKLCH | oklch(35.08% 0.141 275.3) |
| XYZ | xyz(5.8835, 3.9048, 21.5584) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 6.18
Royal
#0C1793
ΔE00 6.26
Sapphire (survey)
#2138AB
ΔE00 6.67
Blueberry
#464196
ΔE00 6.91
Marine
#042E60
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C82 #82802A
analogous
#2A5882 #2A2C82 #542A82
triadic
#2A2C82 #822A2C #2C822A
tetradic
#2A2C82 #822A58 #82802A #2A8254
square
#2A2C82 #822A58 #82802A #2A8254
split-complementary
#2A2C82 #82542A #58822A
monochromatic
#0C0D25 #1B1C54 #2A2C82 #393CB0 #5C5FCA
Accessibility & contrast
On white
11.79
#2A2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2A2C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C82
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C82 | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2a2c82; /* rgb */ color: rgb(42, 44, 130); /* oklch */ color: oklch(35.1% 0.141 275.3);
Tailwind
colors: {
custom: {
50: '#6f65a7',
500: '#2a2c82',
950: '#000000',
},
}SCSS
$custom: #2a2c82; $custom-light: #6f65a7; $custom-dark: #000000;
JSON
{
"hex": "#2a2c82",
"rgb": {
"r": 42,
"g": 44,
"b": 130
},
"hsl": {
"h": 238.636,
"s": 51.163,
"l": 33.725
},
"oklch": {
"l": 0.35078,
"c": 0.1411,
"h": 275.3
},
"luminance": 0.03905
}Semantic roles & 50–950 ramp
primary
#2A2C82
secondary
#B0AE58
accent
#D74DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F