#2E50A2#2E50A2
#2E50A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.139 H 264.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E50A2 |
|---|---|
| RGB | rgb(46, 80, 162) |
| HSL | hsl(222, 56%, 41%) |
| HSV | hsv(222, 72%, 64%) |
| CMYK | cmyk(71.6%, 50.6%, 0%, 36.5%) |
| CIE-LAB | lab(35.84, 16.57, -48.07) |
| CIE-LCH | lch(35.84, 50.85, 289.02°) |
| OKLab | oklab(45.27% -0.0132 -0.138) |
| OKLCH | oklch(45.27% 0.139 264.5) |
| XYZ | xyz(10.5147, 8.9257, 35.3441) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.42
Cobalt
#0047AB
ΔE00 3.57
Cobalt (survey)
#1E488F
ΔE00 3.76
Dusk Blue
#26538D
ΔE00 4.04
Denim Blue
#3B5B92
ΔE00 4.41
Light Navy Blue
#2E5A88
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E50A2 #A2802E
analogous
#2E8AA2 #2E50A2 #462EA2
triadic
#2E50A2 #A22E50 #50A22E
tetradic
#2E50A2 #A22E8A #A2802E #2EA246
square
#2E50A2 #A22E8A #A2802E #2EA246
split-complementary
#2E50A2 #A2462E #8AA22E
monochromatic
#132143 #203872 #2E50A2 #436BCA #7390D7
Accessibility & contrast
On white
7.54
#2E50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2E50A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E50A2
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E50A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E50A2 | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e50a2; /* rgb */ color: rgb(46, 80, 162); /* oklch */ color: oklch(45.3% 0.139 264.5);
Tailwind
colors: {
custom: {
50: '#7680be',
500: '#2e50a2',
950: '#000000',
},
}SCSS
$custom: #2e50a2; $custom-light: #7680be; $custom-dark: #000000;
JSON
{
"hex": "#2e50a2",
"rgb": {
"r": 46,
"g": 80,
"b": 162
},
"hsl": {
"h": 222.414,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.45271,
"c": 0.13867,
"h": 264.5
},
"luminance": 0.08927
}Semantic roles & 50–950 ramp
primary
#2E50A2
secondary
#BFA76D
accent
#B349DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81