#505FDF#505FDF
#505FDF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.194 H 273.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #505FDF |
|---|---|
| RGB | rgb(80, 95, 223) |
| HSL | hsl(234, 69%, 59%) |
| HSV | hsv(234, 64%, 87%) |
| CMYK | cmyk(64.1%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(45.93, 33.97, -67.18) |
| CIE-LCH | lch(45.93, 75.28, 296.82°) |
| OKLab | oklab(54.72% 0.0106 -0.1933) |
| OKLCH | oklch(54.72% 0.194 273.1) |
| XYZ | xyz(20.7153, 15.2158, 71.6430) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.59
Dark Periwinkle
#665FD1
ΔE00 3.85
Azul
#1D5DEC
ΔE00 4.13
Royal Blue
#4169E1
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 5.29
Iris
#6258C4
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FDF #DFD050
analogous
#50A7DF #505FDF #8950DF
triadic
#505FDF #DF505F #5FDF50
tetradic
#505FDF #DF50A7 #DFD050 #50DF89
square
#505FDF #DF50A7 #DFD050 #50DF89
split-complementary
#505FDF #DF8950 #A7DF50
monochromatic
#1C2999 #2537CC #505FDF #848EE8 #B7BEF2
Accessibility & contrast
On white
5.19
#505FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#505FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FDF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FDF | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #505fdf; /* rgb */ color: rgb(80, 95, 223); /* oklch */ color: oklch(54.7% 0.194 273.1);
Tailwind
colors: {
custom: {
50: '#908cea',
500: '#505fdf',
950: '#000000',
},
}SCSS
$custom: #505fdf; $custom-light: #908cea; $custom-dark: #000000;
JSON
{
"hex": "#505fdf",
"rgb": {
"r": 80,
"g": 95,
"b": 223
},
"hsl": {
"h": 233.706,
"s": 69.082,
"l": 59.412
},
"oklch": {
"l": 0.54721,
"c": 0.1936,
"h": 273.1
},
"luminance": 0.15218
}Semantic roles & 50–950 ramp
primary
#505FDF
secondary
#E1DBAA
accent
#D93CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84