#2E32A1#2E32A1
#2E32A1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.175 H 273.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E32A1 |
|---|---|
| RGB | rgb(46, 50, 161) |
| HSL | hsl(238, 56%, 41%) |
| HSV | hsv(238, 71%, 63%) |
| CMYK | cmyk(71.4%, 68.9%, 0%, 36.9%) |
| CIE-LAB | lab(27.94, 35.93, -60.33) |
| CIE-LCH | lch(27.94, 70.22, 300.78°) |
| OKLab | oklab(39.36% 0.0104 -0.1744) |
| OKLCH | oklch(39.36% 0.175 273.4) |
| XYZ | xyz(8.6982, 5.4344, 34.3018) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.58
Blueberry
#464196
ΔE00 5.52
Indigo Blue
#3A18B1
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.29
Ocean Blue
#4F42B5
ΔE00 6.35
Blue Blue
#2242C7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E32A1 #A19D2E
analogous
#2E6BA1 #2E32A1 #632EA1
triadic
#2E32A1 #A12E32 #32A12E
tetradic
#2E32A1 #A12E6B #A19D2E #2EA163
square
#2E32A1 #A12E6B #A19D2E #2EA163
split-complementary
#2E32A1 #A1632E #6BA12E
monochromatic
#131442 #202371 #2E32A1 #4348C9 #7376D7
Accessibility & contrast
On white
10.06
#2E32A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2E32A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E32A1
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E32A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E32A1 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2e32a1; /* rgb */ color: rgb(46, 50, 161); /* oklch */ color: oklch(39.4% 0.175 273.4);
Tailwind
colors: {
custom: {
50: '#786abe',
500: '#2e32a1',
950: '#000000',
},
}SCSS
$custom: #2e32a1; $custom-light: #786abe; $custom-dark: #000000;
JSON
{
"hex": "#2e32a1",
"rgb": {
"r": 46,
"g": 50,
"b": 161
},
"hsl": {
"h": 237.913,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.39363,
"c": 0.17469,
"h": 273.4
},
"luminance": 0.05435
}Semantic roles & 50–950 ramp
primary
#2E32A1
secondary
#BEBC6C
accent
#DA49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81