#2E388E#2E388E
#2E388E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.141 H 272.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E388E |
|---|---|
| RGB | rgb(46, 56, 142) |
| HSL | hsl(234, 51%, 37%) |
| HSV | hsv(234, 68%, 56%) |
| CMYK | cmyk(67.6%, 60.6%, 0%, 44.3%) |
| CIE-LAB | lab(27.74, 25.17, -49.03) |
| CIE-LCH | lch(27.74, 55.11, 297.18°) |
| OKLab | oklab(38.7% 0.007 -0.1412) |
| OKLCH | oklch(38.7% 0.141 272.8) |
| XYZ | xyz(7.4217, 5.3615, 26.2297) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.25
Sapphire (survey)
#2138AB
ΔE00 4.36
Darkslateblue
#483D8B
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 6.96
Cobalt
#0047AB
ΔE00 7.23
Darkish Blue
#014182
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E388E #8E842E
analogous
#2E688E #2E388E #542E8E
triadic
#2E388E #8E2E38 #388E2E
tetradic
#2E388E #8E2E68 #8E842E #2E8E54
square
#2E388E #8E2E68 #8E842E #2E8E54
split-complementary
#2E388E #8E542E #688E2E
monochromatic
#101432 #1F2660 #2E388E #3D4ABC #6873CE
Accessibility & contrast
On white
10.13
#2E388E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2E388E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E388E
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E388E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E388E | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e388e; /* rgb */ color: rgb(46, 56, 142); /* oklch */ color: oklch(38.7% 0.141 272.8);
Tailwind
colors: {
custom: {
50: '#736eb0',
500: '#2e388e',
950: '#000000',
},
}SCSS
$custom: #2e388e; $custom-light: #736eb0; $custom-dark: #000000;
JSON
{
"hex": "#2e388e",
"rgb": {
"r": 46,
"g": 56,
"b": 142
},
"hsl": {
"h": 233.75,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.387,
"c": 0.14137,
"h": 272.8
},
"luminance": 0.05362
}Semantic roles & 50–950 ramp
primary
#2E388E
secondary
#B5AC63
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F