#2E509F#2E509F
#2E509F is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.134 H 264.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2E509F |
|---|---|
| RGB | rgb(46, 80, 159) |
| HSL | hsl(222, 55%, 40%) |
| HSV | hsv(222, 71%, 62%) |
| CMYK | cmyk(71.1%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.64, 15.43, -46.60) |
| CIE-LCH | lch(35.64, 49.09, 288.32°) |
| OKLab | oklab(45.05% -0.0136 -0.1337) |
| OKLCH | oklch(45.05% 0.134 264.2) |
| XYZ | xyz(10.2512, 8.8203, 33.9564) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.47
Dusk Blue
#26538D
ΔE00 3.70
Cobalt
#0047AB
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 3.72
Denim Blue
#3B5B92
ΔE00 4.21
Light Navy Blue
#2E5A88
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E509F #9F7D2E
analogous
#2E889F #2E509F #452E9F
triadic
#2E509F #9F2E50 #509F2E
tetradic
#2E509F #9F2E88 #9F7D2E #2E9F45
square
#2E509F #9F2E88 #9F7D2E #2E9F45
split-complementary
#2E509F #9F452E #889F2E
monochromatic
#132040 #203870 #2E509F #426AC8 #7190D6
Accessibility & contrast
On white
7.60
#2E509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2E509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E509F
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E509F | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e509f; /* rgb */ color: rgb(46, 80, 159); /* oklch */ color: oklch(45.0% 0.134 264.2);
Tailwind
colors: {
custom: {
50: '#7580bc',
500: '#2e509f',
950: '#000000',
},
}SCSS
$custom: #2e509f; $custom-light: #7580bc; $custom-dark: #000000;
JSON
{
"hex": "#2e509f",
"rgb": {
"r": 46,
"g": 80,
"b": 159
},
"hsl": {
"h": 221.947,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.45049,
"c": 0.1344,
"h": 264.2
},
"luminance": 0.08821
}Semantic roles & 50–950 ramp
primary
#2E509F
secondary
#BEA56B
accent
#B249DE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81