#2E509D#2E509D
#2E509D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.132 H 264.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2E509D |
|---|---|
| RGB | rgb(46, 80, 157) |
| HSL | hsl(222, 55%, 40%) |
| HSV | hsv(222, 71%, 62%) |
| CMYK | cmyk(70.7%, 49%, 0%, 38.4%) |
| CIE-LAB | lab(35.50, 14.67, -45.61) |
| CIE-LCH | lch(35.50, 47.92, 287.83°) |
| OKLab | oklab(44.9% -0.0139 -0.1308) |
| OKLCH | oklch(44.9% 0.132 264) |
| XYZ | xyz(10.0790, 8.7515, 33.0498) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.30
Dusk Blue
#26538D
ΔE00 3.48
Cobalt
#0047AB
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.09
Light Navy Blue
#2E5A88
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E509D #9D7B2E
analogous
#2E879D #2E509D #442E9D
triadic
#2E509D #9D2E50 #509D2E
tetradic
#2E509D #9D2E87 #9D7B2E #2E9D44
square
#2E509D #9D2E87 #9D7B2E #2E9D44
split-complementary
#2E509D #9D442E #879D2E
monochromatic
#12203E #20386E #2E509D #416AC7 #708FD5
Accessibility & contrast
On white
7.64
#2E509D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2E509D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E509D
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E509D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E509D | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#074F9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e509d; /* rgb */ color: rgb(46, 80, 157); /* oklch */ color: oklch(44.9% 0.132 264.0);
Tailwind
colors: {
custom: {
50: '#7580ba',
500: '#2e509d',
950: '#000000',
},
}SCSS
$custom: #2e509d; $custom-light: #7580ba; $custom-dark: #000000;
JSON
{
"hex": "#2e509d",
"rgb": {
"r": 46,
"g": 80,
"b": 157
},
"hsl": {
"h": 221.622,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.44903,
"c": 0.13154,
"h": 264
},
"luminance": 0.08752
}Semantic roles & 50–950 ramp
primary
#2E509D
secondary
#BDA36A
accent
#B14ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81