#2A32A1#2A32A1
#2A32A1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.176 H 271.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A32A1 |
|---|---|
| RGB | rgb(42, 50, 161) |
| HSL | hsl(236, 59%, 40%) |
| HSV | hsv(236, 74%, 63%) |
| CMYK | cmyk(73.9%, 68.9%, 0%, 36.9%) |
| CIE-LAB | lab(27.70, 35.47, -60.73) |
| CIE-LCH | lch(27.70, 70.33, 300.29°) |
| OKLab | oklab(39.13% 0.0058 -0.1756) |
| OKLCH | oklch(39.13% 0.176 271.9) |
| XYZ | xyz(8.5263, 5.3458, 34.2938) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.34
Blueberry
#464196
ΔE00 5.73
Indigo Blue
#3A18B1
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.55
Ocean Blue
#4F42B5
ΔE00 6.62
Blue Blue
#2242C7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A32A1 #A1992A
analogous
#2A6EA1 #2A32A1 #5D2AA1
triadic
#2A32A1 #A12A32 #32A12A
tetradic
#2A32A1 #A12A6E #A1992A #2AA15D
square
#2A32A1 #A12A6E #A1992A #2AA15D
split-complementary
#2A32A1 #A15D2A #6EA12A
monochromatic
#111440 #1D2370 #2A32A1 #3C46CC #6D74D9
Accessibility & contrast
On white
10.15
#2A32A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2A32A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A32A1
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A32A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A32A1 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a32a1; /* rgb */ color: rgb(42, 50, 161); /* oklch */ color: oklch(39.1% 0.176 271.9);
Tailwind
colors: {
custom: {
50: '#766abe',
500: '#2a32a1',
950: '#000000',
},
}SCSS
$custom: #2a32a1; $custom-light: #766abe; $custom-dark: #000000;
JSON
{
"hex": "#2a32a1",
"rgb": {
"r": 42,
"g": 50,
"b": 161
},
"hsl": {
"h": 235.966,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.39125,
"c": 0.17575,
"h": 271.9
},
"luminance": 0.05347
}Semantic roles & 50–950 ramp
primary
#2A32A1
secondary
#C0BA67
accent
#D746E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81