#2E37B1#2E37B1
#2E37B1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.190 H 271.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E37B1 |
|---|---|
| RGB | rgb(46, 55, 177) |
| HSL | hsl(236, 59%, 44%) |
| HSV | hsv(236, 74%, 69%) |
| CMYK | cmyk(74%, 68.9%, 0%, 30.6%) |
| CIE-LAB | lab(30.61, 38.45, -65.56) |
| CIE-LCH | lch(30.61, 76.01, 300.39°) |
| OKLab | oklab(41.76% 0.0055 -0.1897) |
| OKLCH | oklch(41.76% 0.19 271.7) |
| XYZ | xyz(10.4260, 6.4865, 42.2890) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.75
Blue Blue
#2242C7
ΔE00 4.26
Ocean Blue
#4F42B5
ΔE00 4.85
Blue With A Hint Of Purple
#533CC6
ΔE00 5.71
Blueberry
#464196
ΔE00 5.85
Blurple
#5539CC
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E37B1 #B1A82E
analogous
#2E78B1 #2E37B1 #662EB1
triadic
#2E37B1 #B12E37 #37B12E
tetradic
#2E37B1 #B12E78 #B1A82E #2EB166
square
#2E37B1 #B12E78 #B1A82E #2EB166
split-complementary
#2E37B1 #B1662E #78B12E
monochromatic
#151950 #212880 #2E37B1 #4C55D0 #7C83DD
Accessibility & contrast
On white
9.14
#2E37B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2E37B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E37B1
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E37B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E37B1 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e37b1; /* rgb */ color: rgb(46, 55, 177); /* oklch */ color: oklch(41.8% 0.190 271.7);
Tailwind
colors: {
custom: {
50: '#7b6ec9',
500: '#2e37b1',
950: '#000000',
},
}SCSS
$custom: #2e37b1; $custom-light: #7b6ec9; $custom-dark: #000000;
JSON
{
"hex": "#2e37b1",
"rgb": {
"r": 46,
"g": 55,
"b": 177
},
"hsl": {
"h": 235.878,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.41758,
"c": 0.18974,
"h": 271.7
},
"luminance": 0.06488
}Semantic roles & 50–950 ramp
primary
#2E37B1
secondary
#C6C075
accent
#D746E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82