#2E479B#2E479B
#2E479B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.140 H 267.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E479B |
|---|---|
| RGB | rgb(46, 71, 155) |
| HSL | hsl(226, 54%, 39%) |
| HSV | hsv(226, 70%, 61%) |
| CMYK | cmyk(70.3%, 54.2%, 0%, 39.2%) |
| CIE-LAB | lab(32.82, 19.94, -48.74) |
| CIE-LCH | lch(32.82, 52.66, 292.25°) |
| OKLab | oklab(42.82% -0.0058 -0.1401) |
| OKLCH | oklch(42.82% 0.14 267.6) |
| XYZ | xyz(9.2943, 7.4530, 31.9527) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.34
Cobalt
#0047AB
ΔE00 3.41
Blueberry
#464196
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.54
Sapphire
#0F52BA
ΔE00 5.76
Darkish Blue
#014182
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E479B #9B822E
analogous
#2E7D9B #2E479B #4C2E9B
triadic
#2E479B #9B2E47 #479B2E
tetradic
#2E479B #9B2E7D #9B822E #2E9B4C
square
#2E479B #9B2E7D #9B822E #2E9B4C
split-complementary
#2E479B #9B4C2E #7D9B2E
monochromatic
#121C3D #20316C #2E479B #405FC6 #6F86D4
Accessibility & contrast
On white
8.43
#2E479B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2E479B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E479B
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E479B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E479B | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e479b; /* rgb */ color: rgb(46, 71, 155); /* oklch */ color: oklch(42.8% 0.140 267.6);
Tailwind
colors: {
custom: {
50: '#7579b9',
500: '#2e479b',
950: '#000000',
},
}SCSS
$custom: #2e479b; $custom-light: #7579b9; $custom-dark: #000000;
JSON
{
"hex": "#2e479b",
"rgb": {
"r": 46,
"g": 71,
"b": 155
},
"hsl": {
"h": 226.239,
"s": 54.229,
"l": 39.412
},
"oklch": {
"l": 0.42818,
"c": 0.14027,
"h": 267.6
},
"luminance": 0.07454
}Semantic roles & 50–950 ramp
primary
#2E479B
secondary
#BCA969
accent
#BC4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80