#2E4786#2E4786
#2E4786 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.110 H 265.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4786 |
|---|---|
| RGB | rgb(46, 71, 134) |
| HSL | hsl(223, 49%, 35%) |
| HSV | hsv(223, 66%, 53%) |
| CMYK | cmyk(65.7%, 47%, 0%, 47.5%) |
| CIE-LAB | lab(31.37, 12.01, -38.23) |
| CIE-LCH | lch(31.37, 40.08, 287.44°) |
| OKLab | oklab(41.25% -0.0085 -0.1092) |
| OKLCH | oklch(41.25% 0.11 265.6) |
| XYZ | xyz(7.6815, 6.8079, 23.4589) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.55
Darkish Blue
#014182
ΔE00 4.41
Twilight Blue
#0A437A
ΔE00 4.86
Dusk Blue
#26538D
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.55
Prussian Blue
#004577
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4786 #866D2E
analogous
#2E7386 #2E4786 #412E86
triadic
#2E4786 #862E47 #47862E
tetradic
#2E4786 #862E73 #866D2E #2E8641
square
#2E4786 #862E73 #866D2E #2E8641
split-complementary
#2E4786 #86412E #73862E
monochromatic
#0F172B #1E2F58 #2E4786 #3E5FB4 #6481CA
Accessibility & contrast
On white
8.89
#2E4786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2E4786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4786
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4786 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284E88
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e4786; /* rgb */ color: rgb(46, 71, 134); /* oklch */ color: oklch(41.3% 0.110 265.6);
Tailwind
colors: {
custom: {
50: '#7079aa',
500: '#2e4786',
950: '#000000',
},
}SCSS
$custom: #2e4786; $custom-light: #7079aa; $custom-dark: #000000;
JSON
{
"hex": "#2e4786",
"rgb": {
"r": 46,
"g": 71,
"b": 134
},
"hsl": {
"h": 222.955,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.4125,
"c": 0.10957,
"h": 265.6
},
"luminance": 0.06809
}Semantic roles & 50–950 ramp
primary
#2E4786
secondary
#B19A5F
accent
#B14FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F