#2E478D#2E478D
#2E478D is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.120 H 266.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2E478D |
|---|---|
| RGB | rgb(46, 71, 141) |
| HSL | hsl(224, 51%, 37%) |
| HSV | hsv(224, 67%, 55%) |
| CMYK | cmyk(67.4%, 49.6%, 0%, 44.7%) |
| CIE-LAB | lab(31.83, 14.65, -41.80) |
| CIE-LCH | lch(31.83, 44.29, 289.31°) |
| OKLab | oklab(41.75% -0.0074 -0.1197) |
| OKLCH | oklch(41.75% 0.12 266.5) |
| XYZ | xyz(8.1860, 7.0096, 26.1157) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.41
Cobalt
#0047AB
ΔE00 4.72
Darkish Blue
#014182
ΔE00 4.74
Dusk Blue
#26538D
ΔE00 5.29
Twilight Blue
#0A437A
ΔE00 5.39
Blueberry
#464196
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E478D #8D742E
analogous
#2E778D #2E478D #452E8D
triadic
#2E478D #8D2E47 #478D2E
tetradic
#2E478D #8D2E77 #8D742E #2E8D45
square
#2E478D #8D2E77 #8D742E #2E8D45
split-complementary
#2E478D #8D452E #778D2E
monochromatic
#101931 #1F305F #2E478D #3D5EBB #6883CE
Accessibility & contrast
On white
8.74
#2E478D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2E478D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E478D
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E478D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E478D | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e478d; /* rgb */ color: rgb(46, 71, 141); /* oklch */ color: oklch(41.8% 0.120 266.5);
Tailwind
colors: {
custom: {
50: '#7279af',
500: '#2e478d',
950: '#000000',
},
}SCSS
$custom: #2e478d; $custom-light: #7279af; $custom-dark: #000000;
JSON
{
"hex": "#2e478d",
"rgb": {
"r": 46,
"g": 71,
"b": 141
},
"hsl": {
"h": 224.211,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.41753,
"c": 0.11996,
"h": 266.5
},
"luminance": 0.0701
}Semantic roles & 50–950 ramp
primary
#2E478D
secondary
#B59F62
accent
#B54EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F