#2A32B3#2A32B3
#2A32B3 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.199 H 271.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A32B3 |
|---|---|
| RGB | rgb(42, 50, 179) |
| HSL | hsl(236, 62%, 43%) |
| HSV | hsv(236, 77%, 70%) |
| CMYK | cmyk(76.5%, 72.1%, 0%, 29.8%) |
| CIE-LAB | lab(29.48, 41.80, -68.62) |
| CIE-LCH | lch(29.48, 80.35, 301.35°) |
| OKLab | oklab(40.95% 0.0036 -0.1986) |
| OKLCH | oklch(40.95% 0.199 271) |
| XYZ | xyz(10.2294, 6.0270, 43.2633) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.52
Blue Blue
#2242C7
ΔE00 5.13
Indigo Blue
#3A18B1
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 5.72
Blue With A Hint Of Purple
#533CC6
ΔE00 6.05
True Blue
#010FCC
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A32B3 #B3AB2A
analogous
#2A76B3 #2A32B3 #662AB3
triadic
#2A32B3 #B32A32 #32B32A
tetradic
#2A32B3 #B32A76 #B3AB2A #2AB366
square
#2A32B3 #B32A76 #B3AB2A #2AB366
split-complementary
#2A32B3 #B3662A #76B32A
monochromatic
#131650 #1E2481 #2A32B3 #464FD4 #787EDF
Accessibility & contrast
On white
9.52
#2A32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2A32B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A32B3
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A32B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A32B3 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a32b3; /* rgb */ color: rgb(42, 50, 179); /* oklch */ color: oklch(40.9% 0.199 271.0);
Tailwind
colors: {
custom: {
50: '#7a6bcb',
500: '#2a32b3',
950: '#000000',
},
}SCSS
$custom: #2a32b3; $custom-light: #7a6bcb; $custom-dark: #000000;
JSON
{
"hex": "#2a32b3",
"rgb": {
"r": 42,
"g": 50,
"b": 179
},
"hsl": {
"h": 236.496,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.40947,
"c": 0.19868,
"h": 271
},
"luminance": 0.06028
}Semantic roles & 50–950 ramp
primary
#2A32B3
secondary
#C7C272
accent
#DC43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82