#2E37AD#2E37AD
#2E37AD is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.185 H 271.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E37AD |
|---|---|
| RGB | rgb(46, 55, 173) |
| HSL | hsl(236, 58%, 43%) |
| HSV | hsv(236, 73%, 68%) |
| CMYK | cmyk(73.4%, 68.2%, 0%, 32.2%) |
| CIE-LAB | lab(30.23, 37.04, -63.80) |
| CIE-LCH | lch(30.23, 73.77, 300.14°) |
| OKLab | oklab(41.37% 0.006 -0.1845) |
| OKLCH | oklch(41.37% 0.185 271.8) |
| XYZ | xyz(10.0332, 6.3293, 40.2200) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.45
Blue Blue
#2242C7
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 5.02
Blueberry
#464196
ΔE00 5.52
Blue With A Hint Of Purple
#533CC6
ΔE00 6.10
Blurple
#5539CC
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E37AD #ADA42E
analogous
#2E76AD #2E37AD #642EAD
triadic
#2E37AD #AD2E37 #37AD2E
tetradic
#2E37AD #AD2E76 #ADA42E #2EAD64
square
#2E37AD #AD2E76 #ADA42E #2EAD64
split-complementary
#2E37AD #AD642E #76AD2E
monochromatic
#14184C #21287D #2E37AD #4953CF #7A81DC
Accessibility & contrast
On white
9.27
#2E37AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2E37AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E37AD
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E37AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E37AD | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e37ad; /* rgb */ color: rgb(46, 55, 173); /* oklch */ color: oklch(41.4% 0.185 271.8);
Tailwind
colors: {
custom: {
50: '#7a6ec7',
500: '#2e37ad',
950: '#000000',
},
}SCSS
$custom: #2e37ad; $custom-light: #7a6ec7; $custom-dark: #000000;
JSON
{
"hex": "#2e37ad",
"rgb": {
"r": 46,
"g": 55,
"b": 173
},
"hsl": {
"h": 235.748,
"s": 57.991,
"l": 42.941
},
"oklch": {
"l": 0.41368,
"c": 0.1846,
"h": 271.8
},
"luminance": 0.0633
}Semantic roles & 50–950 ramp
primary
#2E37AD
secondary
#C4BE73
accent
#D647E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82