#2E4387#2E4387
#2E4387 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.116 H 268.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4387 |
|---|---|
| RGB | rgb(46, 67, 135) |
| HSL | hsl(226, 49%, 35%) |
| HSV | hsv(226, 66%, 53%) |
| CMYK | cmyk(65.9%, 50.4%, 0%, 47.1%) |
| CIE-LAB | lab(30.26, 15.10, -40.62) |
| CIE-LCH | lch(30.26, 43.34, 290.39°) |
| OKLab | oklab(40.43% -0.0041 -0.1163) |
| OKLCH | oklch(40.43% 0.116 268) |
| XYZ | xyz(7.5055, 6.3437, 23.7459) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.45
Darkish Blue
#014182
ΔE00 4.83
Twilight Blue
#0A437A
ΔE00 5.55
Blueberry
#464196
ΔE00 5.62
Cobalt
#0047AB
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4387 #87722E
analogous
#2E6F87 #2E4387 #462E87
triadic
#2E4387 #872E43 #43872E
tetradic
#2E4387 #872E6F #87722E #2E8746
square
#2E4387 #872E6F #87722E #2E8746
split-complementary
#2E4387 #87462E #6F872E
monochromatic
#0F162C #1E2C59 #2E4387 #3E5AB5 #657DCA
Accessibility & contrast
On white
9.26
#2E4387 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2E4387 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4387
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4387 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4387 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#0A4386
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e4387; /* rgb */ color: rgb(46, 67, 135); /* oklch */ color: oklch(40.4% 0.116 268.0);
Tailwind
colors: {
custom: {
50: '#7176aa',
500: '#2e4387',
950: '#000000',
},
}SCSS
$custom: #2e4387; $custom-light: #7176aa; $custom-dark: #000000;
JSON
{
"hex": "#2e4387",
"rgb": {
"r": 46,
"g": 67,
"b": 135
},
"hsl": {
"h": 225.843,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.4043,
"c": 0.11639,
"h": 268
},
"luminance": 0.06344
}Semantic roles & 50–950 ramp
primary
#2E4387
secondary
#B19E60
accent
#B84FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F