#2E37B7#2E37B7
#2E37B7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.197 H 271.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2E37B7 |
|---|---|
| RGB | rgb(46, 55, 183) |
| HSL | hsl(236, 60%, 45%) |
| HSV | hsv(236, 75%, 72%) |
| CMYK | cmyk(74.9%, 69.9%, 0%, 28.2%) |
| CIE-LAB | lab(31.19, 40.55, -68.18) |
| CIE-LCH | lch(31.19, 79.32, 300.74°) |
| OKLab | oklab(42.35% 0.0048 -0.1973) |
| OKLCH | oklch(42.35% 0.197 271.4) |
| XYZ | xyz(11.0372, 6.7309, 45.5081) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.37
Blue Blue
#2242C7
ΔE00 3.83
Ocean Blue
#4F42B5
ΔE00 4.69
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Blurple
#5539CC
ΔE00 5.75
Blue (survey)
#0343DF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E37B7 #B7AE2E
analogous
#2E7CB7 #2E37B7 #692EB7
triadic
#2E37B7 #B72E37 #37B72E
tetradic
#2E37B7 #B72E7C #B7AE2E #2EB769
square
#2E37B7 #B72E7C #B7AE2E #2EB769
split-complementary
#2E37B7 #B7692E #7CB72E
monochromatic
#151A55 #222886 #2E37B7 #4F58D3 #8086DF
Accessibility & contrast
On white
8.95
#2E37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2E37B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E37B7
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E37B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E37B7 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e37b7; /* rgb */ color: rgb(46, 55, 183); /* oklch */ color: oklch(42.4% 0.197 271.4);
Tailwind
colors: {
custom: {
50: '#7c6ece',
500: '#2e37b7',
950: '#000000',
},
}SCSS
$custom: #2e37b7; $custom-light: #7c6ece; $custom-dark: #000000;
JSON
{
"hex": "#2e37b7",
"rgb": {
"r": 46,
"g": 55,
"b": 183
},
"hsl": {
"h": 236.058,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.42351,
"c": 0.19735,
"h": 271.4
},
"luminance": 0.06732
}Semantic roles & 50–950 ramp
primary
#2E37B7
secondary
#C8C379
accent
#D945E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82