#2A32A4#2A32A4
#2A32A4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.180 H 271.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A32A4 |
|---|---|
| RGB | rgb(42, 50, 164) |
| HSL | hsl(236, 59%, 40%) |
| HSV | hsv(236, 74%, 64%) |
| CMYK | cmyk(74.4%, 69.5%, 0%, 35.7%) |
| CIE-LAB | lab(27.99, 36.54, -62.07) |
| CIE-LCH | lch(27.99, 72.03, 300.48°) |
| OKLab | oklab(39.42% 0.0055 -0.1796) |
| OKLCH | oklch(39.42% 0.18 271.8) |
| XYZ | xyz(8.7940, 5.4529, 35.7038) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.18
Blueberry
#464196
ΔE00 5.88
Indigo Blue
#3A18B1
ΔE00 6.24
Blue Blue
#2242C7
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A32A4 #A49C2A
analogous
#2A6FA4 #2A32A4 #5F2AA4
triadic
#2A32A4 #A42A32 #32A42A
tetradic
#2A32A4 #A42A6F #A49C2A #2AA45F
square
#2A32A4 #A42A6F #A49C2A #2AA45F
split-complementary
#2A32A4 #A45F2A #6FA42A
monochromatic
#111443 #1E2373 #2A32A4 #3E47CD #6E75DA
Accessibility & contrast
On white
10.04
#2A32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2A32A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A32A4
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A32A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A32A4 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a32a4; /* rgb */ color: rgb(42, 50, 164); /* oklch */ color: oklch(39.4% 0.180 271.8);
Tailwind
colors: {
custom: {
50: '#776ac0',
500: '#2a32a4',
950: '#000000',
},
}SCSS
$custom: #2a32a4; $custom-light: #776ac0; $custom-dark: #000000;
JSON
{
"hex": "#2a32a4",
"rgb": {
"r": 42,
"g": 50,
"b": 164
},
"hsl": {
"h": 236.066,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.39423,
"c": 0.17965,
"h": 271.8
},
"luminance": 0.05454
}Semantic roles & 50–950 ramp
primary
#2A32A4
secondary
#C1BB69
accent
#D845E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81