#2E479D#2E479D
#2E479D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.143 H 267.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E479D |
|---|---|
| RGB | rgb(46, 71, 157) |
| HSL | hsl(226, 55%, 40%) |
| HSV | hsv(226, 71%, 62%) |
| CMYK | cmyk(70.7%, 54.8%, 0%, 38.4%) |
| CIE-LAB | lab(32.96, 20.69, -49.71) |
| CIE-LCH | lch(32.96, 53.85, 292.60°) |
| OKLab | oklab(42.98% -0.0057 -0.143) |
| OKLCH | oklch(42.98% 0.143 267.7) |
| XYZ | xyz(9.4637, 7.5207, 32.8446) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.29
Cobalt (survey)
#1E488F
ΔE00 3.55
Blueberry
#464196
ΔE00 5.27
Sapphire (survey)
#2138AB
ΔE00 5.36
Sapphire
#0F52BA
ΔE00 5.62
Dusk Blue
#26538D
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E479D #9D842E
analogous
#2E7F9D #2E479D #4C2E9D
triadic
#2E479D #9D2E47 #479D2E
tetradic
#2E479D #9D2E7F #9D842E #2E9D4C
square
#2E479D #9D2E7F #9D842E #2E9D4C
split-complementary
#2E479D #9D4C2E #7F9D2E
monochromatic
#121C3E #20326E #2E479D #415FC7 #7087D5
Accessibility & contrast
On white
8.39
#2E479D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2E479D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E479D
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E479D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E479D | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0553A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e479d; /* rgb */ color: rgb(46, 71, 157); /* oklch */ color: oklch(43.0% 0.143 267.7);
Tailwind
colors: {
custom: {
50: '#7579bb',
500: '#2e479d',
950: '#000000',
},
}SCSS
$custom: #2e479d; $custom-light: #7579bb; $custom-dark: #000000;
JSON
{
"hex": "#2e479d",
"rgb": {
"r": 46,
"g": 71,
"b": 157
},
"hsl": {
"h": 226.486,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.42976,
"c": 0.14312,
"h": 267.7
},
"luminance": 0.07522
}Semantic roles & 50–950 ramp
primary
#2E479D
secondary
#BDAA6A
accent
#BD4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81