#505EE2#505EE2
#505EE2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.199 H 273.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #505EE2 |
|---|---|
| RGB | rgb(80, 94, 226) |
| HSL | hsl(234, 72%, 60%) |
| HSV | hsv(234, 65%, 89%) |
| CMYK | cmyk(64.6%, 58.4%, 0%, 11.4%) |
| CIE-LAB | lab(45.91, 35.59, -68.92) |
| CIE-LCH | lch(45.91, 77.57, 297.32°) |
| OKLab | oklab(54.77% 0.0114 -0.1984) |
| OKLCH | oklch(54.77% 0.199 273.3) |
| XYZ | xyz(21.0339, 15.2000, 73.7622) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.45
Dark Periwinkle
#665FD1
ΔE00 3.92
Azul
#1D5DEC
ΔE00 4.16
Royal Blue
#4169E1
ΔE00 4.63
Electric Blue
#0652FF
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505EE2 #E2D450
analogous
#50A7E2 #505EE2 #8B50E2
triadic
#505EE2 #E2505E #5EE250
tetradic
#505EE2 #E250A7 #E2D450 #50E28B
square
#505EE2 #E250A7 #E2D450 #50E28B
split-complementary
#505EE2 #E28B50 #A7E250
monochromatic
#1A279E #2334D2 #505EE2 #848EEB #B9BFF3
Accessibility & contrast
On white
5.20
#505EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#505EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505EE2
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505EE2 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #505ee2; /* rgb */ color: rgb(80, 94, 226); /* oklch */ color: oklch(54.8% 0.199 273.3);
Tailwind
colors: {
custom: {
50: '#908bec',
500: '#505ee2',
950: '#000000',
},
}SCSS
$custom: #505ee2; $custom-light: #908bec; $custom-dark: #000000;
JSON
{
"hex": "#505ee2",
"rgb": {
"r": 80,
"g": 94,
"b": 226
},
"hsl": {
"h": 234.247,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.54774,
"c": 0.19875,
"h": 273.3
},
"luminance": 0.15202
}Semantic roles & 50–950 ramp
primary
#505EE2
secondary
#E3DEAB
accent
#DD39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84