#2E478A#2E478A
#2E478A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.116 H 266.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2E478A |
|---|---|
| RGB | rgb(46, 71, 138) |
| HSL | hsl(224, 50%, 36%) |
| HSV | hsv(224, 67%, 54%) |
| CMYK | cmyk(66.7%, 48.6%, 0%, 45.9%) |
| CIE-LAB | lab(31.63, 13.52, -40.28) |
| CIE-LCH | lch(31.63, 42.49, 288.55°) |
| OKLab | oklab(41.54% -0.0078 -0.1153) |
| OKLCH | oklch(41.54% 0.116 266.1) |
| XYZ | xyz(7.9658, 6.9216, 24.9560) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.41
Darkish Blue
#014182
ΔE00 4.57
Cobalt
#0047AB
ΔE00 5.07
Twilight Blue
#0A437A
ΔE00 5.15
Dusk Blue
#26538D
ΔE00 5.21
Blueberry
#464196
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E478A #8A712E
analogous
#2E758A #2E478A #432E8A
triadic
#2E478A #8A2E47 #478A2E
tetradic
#2E478A #8A2E75 #8A712E #2E8A43
square
#2E478A #8A2E75 #8A712E #2E8A43
split-complementary
#2E478A #8A432E #758A2E
monochromatic
#0F182E #1F2F5C #2E478A #3D5FB8 #6682CC
Accessibility & contrast
On white
8.81
#2E478A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2E478A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E478A
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E478A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E478A | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254F8C
Deuteranopia (green-blind)
#134689
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e478a; /* rgb */ color: rgb(46, 71, 138); /* oklch */ color: oklch(41.5% 0.116 266.1);
Tailwind
colors: {
custom: {
50: '#7179ad',
500: '#2e478a',
950: '#000000',
},
}SCSS
$custom: #2e478a; $custom-light: #7179ad; $custom-dark: #000000;
JSON
{
"hex": "#2e478a",
"rgb": {
"r": 46,
"g": 71,
"b": 138
},
"hsl": {
"h": 223.696,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.41535,
"c": 0.11552,
"h": 266.1
},
"luminance": 0.06922
}Semantic roles & 50–950 ramp
primary
#2E478A
secondary
#B39D61
accent
#B44EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F