#2E479E#2E479E
#2E479E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.145 H 267.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2E479E |
|---|---|
| RGB | rgb(46, 71, 158) |
| HSL | hsl(227, 55%, 40%) |
| HSV | hsv(227, 71%, 62%) |
| CMYK | cmyk(70.9%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(33.04, 21.07, -50.19) |
| CIE-LCH | lch(33.04, 54.44, 292.77°) |
| OKLab | oklab(43.06% -0.0056 -0.1444) |
| OKLCH | oklch(43.06% 0.145 267.8) |
| XYZ | xyz(9.5494, 7.5550, 33.2961) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.24
Cobalt (survey)
#1E488F
ΔE00 3.66
Blueberry
#464196
ΔE00 5.26
Sapphire (survey)
#2138AB
ΔE00 5.27
Sapphire
#0F52BA
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E479E #9E852E
analogous
#2E7F9E #2E479E #4D2E9E
triadic
#2E479E #9E2E47 #479E2E
tetradic
#2E479E #9E2E7F #9E852E #2E9E4D
square
#2E479E #9E2E7F #9E852E #2E9E4D
split-complementary
#2E479E #9E4D2E #7F9E2E
monochromatic
#121C3F #20326F #2E479E #415FC8 #7187D6
Accessibility & contrast
On white
8.36
#2E479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2E479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E479E
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E479E | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e479e; /* rgb */ color: rgb(46, 71, 158); /* oklch */ color: oklch(43.1% 0.145 267.8);
Tailwind
colors: {
custom: {
50: '#7579bb',
500: '#2e479e',
950: '#000000',
},
}SCSS
$custom: #2e479e; $custom-light: #7579bb; $custom-dark: #000000;
JSON
{
"hex": "#2e479e",
"rgb": {
"r": 46,
"g": 71,
"b": 158
},
"hsl": {
"h": 226.607,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.43056,
"c": 0.14454,
"h": 267.8
},
"luminance": 0.07556
}Semantic roles & 50–950 ramp
primary
#2E479E
secondary
#BDAB6B
accent
#BD4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81