#2E397F#2E397F
#2E397F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.7% C 0.118 H 272.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2E397F |
|---|---|
| RGB | rgb(46, 57, 127) |
| HSL | hsl(232, 47%, 34%) |
| HSV | hsv(232, 64%, 50%) |
| CMYK | cmyk(63.8%, 55.1%, 0%, 50.2%) |
| CIE-LAB | lab(26.85, 18.94, -41.15) |
| CIE-LCH | lch(26.85, 45.30, 294.72°) |
| OKLab | oklab(37.66% 0.0056 -0.118) |
| OKLCH | oklch(37.66% 0.118 272.7) |
| XYZ | xyz(6.4193, 5.0389, 20.7089) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.10
Blueberry
#464196
ΔE00 5.37
Cobalt (survey)
#1E488F
ΔE00 6.67
Darkish Blue
#014182
ΔE00 6.87
Sapphire (survey)
#2138AB
ΔE00 6.90
Marine
#042E60
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E397F #7F742E
analogous
#2E627F #2E397F #4C2E7F
triadic
#2E397F #7F2E39 #397F2E
tetradic
#2E397F #7F2E62 #7F742E #2E7F4C
square
#2E397F #7F2E62 #7F742E #2E7F4C
split-complementary
#2E397F #7F4C2E #627F2E
monochromatic
#0D1125 #1E2552 #2E397F #3E4DAC #616FC6
Accessibility & contrast
On white
10.46
#2E397F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2E397F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E397F
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E397F | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C4381
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e397f; /* rgb */ color: rgb(46, 57, 127); /* oklch */ color: oklch(37.7% 0.118 272.7);
Tailwind
colors: {
custom: {
50: '#706fa5',
500: '#2e397f',
950: '#000000',
},
}SCSS
$custom: #2e397f; $custom-light: #706fa5; $custom-dark: #000000;
JSON
{
"hex": "#2e397f",
"rgb": {
"r": 46,
"g": 57,
"b": 127
},
"hsl": {
"h": 231.852,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.37662,
"c": 0.11814,
"h": 272.7
},
"luminance": 0.05039
}Semantic roles & 50–950 ramp
primary
#2E397F
secondary
#ADA25C
accent
#C451D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F