#2E397B#2E397B
#2E397B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.4% C 0.112 H 272.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2E397B |
|---|---|
| RGB | rgb(46, 57, 123) |
| HSL | hsl(231, 46%, 33%) |
| HSV | hsv(231, 63%, 48%) |
| CMYK | cmyk(62.6%, 53.7%, 0%, 51.8%) |
| CIE-LAB | lab(26.55, 17.46, -39.10) |
| CIE-LCH | lch(26.55, 42.82, 294.06°) |
| OKLab | oklab(37.35% 0.0053 -0.112) |
| OKLCH | oklch(37.35% 0.112 272.7) |
| XYZ | xyz(6.1638, 4.9367, 19.3631) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.42
Blueberry
#464196
ΔE00 5.85
Marine
#042E60
ΔE00 6.76
Cobalt (survey)
#1E488F
ΔE00 6.83
Darkish Blue
#014182
ΔE00 6.88
Marine Blue
#01386A
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E397B #7B702E
analogous
#2E5F7B #2E397B #4A2E7B
triadic
#2E397B #7B2E39 #397B2E
tetradic
#2E397B #7B2E5F #7B702E #2E7B4A
square
#2E397B #7B2E5F #7B702E #2E7B4A
split-complementary
#2E397B #7B4A2E #5F7B2E
monochromatic
#0D1022 #1D244E #2E397B #3F4EA8 #606EC3
Accessibility & contrast
On white
10.57
#2E397B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E397B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E397B
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E397B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E397B | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13427D
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e397b; /* rgb */ color: rgb(46, 57, 123); /* oklch */ color: oklch(37.4% 0.112 272.7);
Tailwind
colors: {
custom: {
50: '#6f6fa2',
500: '#2e397b',
950: '#000000',
},
}SCSS
$custom: #2e397b; $custom-light: #6f6fa2; $custom-dark: #000000;
JSON
{
"hex": "#2e397b",
"rgb": {
"r": 46,
"g": 57,
"b": 123
},
"hsl": {
"h": 231.429,
"s": 45.562,
"l": 33.137
},
"oklch": {
"l": 0.3735,
"c": 0.11211,
"h": 272.7
},
"luminance": 0.04937
}Semantic roles & 50–950 ramp
primary
#2E397B
secondary
#AA9F5B
accent
#C353D5
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#08070F
muted
#7B7A7F