#2E4688#2E4688
#2E4688 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.114 H 266.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4688 |
|---|---|
| RGB | rgb(46, 70, 136) |
| HSL | hsl(224, 49%, 36%) |
| HSV | hsv(224, 66%, 53%) |
| CMYK | cmyk(66.2%, 48.5%, 0%, 46.7%) |
| CIE-LAB | lab(31.20, 13.44, -39.73) |
| CIE-LCH | lch(31.20, 41.94, 288.69°) |
| OKLab | oklab(41.17% -0.0071 -0.1137) |
| OKLCH | oklch(41.17% 0.114 266.4) |
| XYZ | xyz(7.7593, 6.7380, 24.1794) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.67
Darkish Blue
#014182
ΔE00 4.54
Twilight Blue
#0A437A
ΔE00 5.12
Cobalt
#0047AB
ΔE00 5.36
Dusk Blue
#26538D
ΔE00 5.54
Blueberry
#464196
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4688 #88702E
analogous
#2E7388 #2E4688 #432E88
triadic
#2E4688 #882E46 #46882E
tetradic
#2E4688 #882E73 #88702E #2E8843
square
#2E4688 #882E73 #88702E #2E8843
split-complementary
#2E4688 #88432E #73882E
monochromatic
#0F172D #1F2E5A #2E4688 #3D5EB6 #6580CB
Accessibility & contrast
On white
8.94
#2E4688 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2E4688 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4688
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4688 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4688 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#134687
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e4688; /* rgb */ color: rgb(46, 70, 136); /* oklch */ color: oklch(41.2% 0.114 266.4);
Tailwind
colors: {
custom: {
50: '#7179ab',
500: '#2e4688',
950: '#000000',
},
}SCSS
$custom: #2e4688; $custom-light: #7179ab; $custom-dark: #000000;
JSON
{
"hex": "#2e4688",
"rgb": {
"r": 46,
"g": 70,
"b": 136
},
"hsl": {
"h": 224,
"s": 49.451,
"l": 35.686
},
"oklch": {
"l": 0.41168,
"c": 0.11388,
"h": 266.4
},
"luminance": 0.06739
}Semantic roles & 50–950 ramp
primary
#2E4688
secondary
#B29C60
accent
#B44FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F