#505EDB#505EDB
#505EDB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.190 H 273.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #505EDB |
|---|---|
| RGB | rgb(80, 94, 219) |
| HSL | hsl(234, 66%, 59%) |
| HSV | hsv(234, 63%, 86%) |
| CMYK | cmyk(63.5%, 57.1%, 0%, 14.1%) |
| CIE-LAB | lab(45.39, 33.24, -65.78) |
| CIE-LCH | lch(45.39, 73.70, 296.81°) |
| OKLab | oklab(54.23% 0.0114 -0.1892) |
| OKLCH | oklch(54.23% 0.19 273.5) |
| XYZ | xyz(20.0929, 14.8236, 68.8065) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.19
Dark Periwinkle
#665FD1
ΔE00 3.67
Azul
#1D5DEC
ΔE00 4.26
Royal Blue
#4169E1
ΔE00 4.63
Iris
#6258C4
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505EDB #DBCD50
analogous
#50A3DB #505EDB #8750DB
triadic
#505EDB #DB505E #5EDB50
tetradic
#505EDB #DB50A3 #DBCD50 #50DB87
square
#505EDB #DB50A3 #DBCD50 #50DB87
split-complementary
#505EDB #DB8750 #A3DB50
monochromatic
#1E2A92 #2938C5 #505EDB #838DE5 #B6BBF0
Accessibility & contrast
On white
5.30
#505EDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#505EDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505EDB
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505EDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505EDB | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #505edb; /* rgb */ color: rgb(80, 94, 219); /* oklch */ color: oklch(54.2% 0.190 273.5);
Tailwind
colors: {
custom: {
50: '#8f8be7',
500: '#505edb',
950: '#000000',
},
}SCSS
$custom: #505edb; $custom-light: #8f8be7; $custom-dark: #000000;
JSON
{
"hex": "#505edb",
"rgb": {
"r": 80,
"g": 94,
"b": 219
},
"hsl": {
"h": 233.957,
"s": 65.877,
"l": 58.627
},
"oklch": {
"l": 0.54229,
"c": 0.18954,
"h": 273.5
},
"luminance": 0.14825
}Semantic roles & 50–950 ramp
primary
#505EDB
secondary
#DFD9A8
accent
#D83FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84