#2E378D#2E378D
#2E378D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.141 H 273.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2E378D |
|---|---|
| RGB | rgb(46, 55, 141) |
| HSL | hsl(234, 51%, 37%) |
| HSV | hsv(234, 67%, 55%) |
| CMYK | cmyk(67.4%, 61%, 0%, 44.7%) |
| CIE-LAB | lab(27.40, 25.47, -48.97) |
| CIE-LCH | lch(27.40, 55.20, 297.48°) |
| OKLab | oklab(38.42% 0.0079 -0.141) |
| OKLCH | oklch(38.42% 0.141 273.2) |
| XYZ | xyz(7.2990, 5.2357, 25.8201) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.38
Sapphire (survey)
#2138AB
ΔE00 4.49
Darkslateblue
#483D8B
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 7.26
Cobalt
#0047AB
ΔE00 7.54
Darkish Blue
#014182
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E378D #8D842E
analogous
#2E678D #2E378D #552E8D
triadic
#2E378D #8D2E37 #378D2E
tetradic
#2E378D #8D2E67 #8D842E #2E8D55
square
#2E378D #8D2E67 #8D842E #2E8D55
split-complementary
#2E378D #8D552E #678D2E
monochromatic
#101331 #1F255F #2E378D #3D49BB #6871CE
Accessibility & contrast
On white
10.26
#2E378D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2E378D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E378D
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E378D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E378D | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e378d; /* rgb */ color: rgb(46, 55, 141); /* oklch */ color: oklch(38.4% 0.141 273.2);
Tailwind
colors: {
custom: {
50: '#736daf',
500: '#2e378d',
950: '#000000',
},
}SCSS
$custom: #2e378d; $custom-light: #736daf; $custom-dark: #000000;
JSON
{
"hex": "#2e378d",
"rgb": {
"r": 46,
"g": 55,
"b": 141
},
"hsl": {
"h": 234.316,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.38419,
"c": 0.14127,
"h": 273.2
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#2E378D
secondary
#B5AD62
accent
#CD4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F