#2E519F#2E519F
#2E519F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.133 H 263.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2E519F |
|---|---|
| RGB | rgb(46, 81, 159) |
| HSL | hsl(221, 55%, 40%) |
| HSV | hsv(221, 71%, 62%) |
| CMYK | cmyk(71.1%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(35.92, 14.77, -46.14) |
| CIE-LCH | lch(35.92, 48.45, 287.75°) |
| OKLab | oklab(45.27% -0.0145 -0.1323) |
| OKLCH | oklch(45.27% 0.133 263.7) |
| XYZ | xyz(10.3249, 8.9678, 33.9810) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.48
Sapphire
#0F52BA
ΔE00 3.63
Cobalt (survey)
#1E488F
ΔE00 3.63
Denim Blue
#3B5B92
ΔE00 3.91
Cobalt
#0047AB
ΔE00 3.92
Light Navy Blue
#2E5A88
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E519F #9F7C2E
analogous
#2E899F #2E519F #432E9F
triadic
#2E519F #9F2E51 #519F2E
tetradic
#2E519F #9F2E89 #9F7C2E #2E9F43
square
#2E519F #9F2E89 #9F7C2E #2E9F43
split-complementary
#2E519F #9F432E #899F2E
monochromatic
#132140 #203970 #2E519F #426CC8 #7191D6
Accessibility & contrast
On white
7.52
#2E519F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2E519F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E519F
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E519F | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#06509D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e519f; /* rgb */ color: rgb(46, 81, 159); /* oklch */ color: oklch(45.3% 0.133 263.7);
Tailwind
colors: {
custom: {
50: '#7581bc',
500: '#2e519f',
950: '#000000',
},
}SCSS
$custom: #2e519f; $custom-light: #7581bc; $custom-dark: #000000;
JSON
{
"hex": "#2e519f",
"rgb": {
"r": 46,
"g": 81,
"b": 159
},
"hsl": {
"h": 221.416,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.45268,
"c": 0.13313,
"h": 263.7
},
"luminance": 0.08969
}Semantic roles & 50–950 ramp
primary
#2E519F
secondary
#BEA46B
accent
#B049DE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81