#2E37A1#2E37A1
#2E37A1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.169 H 272.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2E37A1 |
|---|---|
| RGB | rgb(46, 55, 161) |
| HSL | hsl(235, 56%, 41%) |
| HSV | hsv(235, 71%, 63%) |
| CMYK | cmyk(71.4%, 65.8%, 0%, 36.9%) |
| CIE-LAB | lab(29.12, 32.76, -58.39) |
| CIE-LCH | lch(29.12, 66.95, 299.30°) |
| OKLab | oklab(40.22% 0.007 -0.1687) |
| OKLCH | oklch(40.22% 0.169 272.4) |
| XYZ | xyz(8.9238, 5.8856, 34.3770) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.77
Blueberry
#464196
ΔE00 4.66
Ocean Blue
#4F42B5
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 5.85
Blue Blue
#2242C7
ΔE00 5.87
Cobalt
#0047AB
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E37A1 #A1982E
analogous
#2E71A1 #2E37A1 #5E2EA1
triadic
#2E37A1 #A12E37 #37A12E
tetradic
#2E37A1 #A12E71 #A1982E #2EA15E
square
#2E37A1 #A12E71 #A1982E #2EA15E
split-complementary
#2E37A1 #A15E2E #71A12E
monochromatic
#131642 #202771 #2E37A1 #434DC9 #737AD7
Accessibility & contrast
On white
9.65
#2E37A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2E37A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E37A1
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E37A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E37A1 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e37a1; /* rgb */ color: rgb(46, 55, 161); /* oklch */ color: oklch(40.2% 0.169 272.4);
Tailwind
colors: {
custom: {
50: '#776ebe',
500: '#2e37a1',
950: '#000000',
},
}SCSS
$custom: #2e37a1; $custom-light: #776ebe; $custom-dark: #000000;
JSON
{
"hex": "#2e37a1",
"rgb": {
"r": 46,
"g": 55,
"b": 161
},
"hsl": {
"h": 235.304,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.40224,
"c": 0.16883,
"h": 272.4
},
"luminance": 0.05886
}Semantic roles & 50–950 ramp
primary
#2E37A1
secondary
#BEB86C
accent
#D349DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81