#505FCE#505FCE
#505FCE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.171 H 273.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #505FCE |
|---|---|
| RGB | rgb(80, 95, 206) |
| HSL | hsl(233, 56%, 56%) |
| HSV | hsv(233, 61%, 81%) |
| CMYK | cmyk(61.2%, 53.9%, 0%, 19.2%) |
| CIE-LAB | lab(44.72, 28.22, -59.43) |
| CIE-LCH | lch(44.72, 65.79, 295.40°) |
| OKLab | oklab(53.44% 0.0101 -0.1705) |
| OKLCH | oklch(53.44% 0.171 273.4) |
| XYZ | xyz(18.5374, 14.3446, 60.1725) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.02
Dark Periwinkle
#665FD1
ΔE00 3.87
Iris
#6258C4
ΔE00 4.50
Royal Blue
#4169E1
ΔE00 4.80
Azul
#1D5DEC
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FCE #CEBF50
analogous
#509ECE #505FCE #8050CE
triadic
#505FCE #CE505F #5FCE50
tetradic
#505FCE #CE509E #CEBF50 #50CE80
square
#505FCE #CE509E #CEBF50 #50CE80
split-complementary
#505FCE #CE8050 #9ECE50
monochromatic
#242F80 #3140B0 #505FCE #808BDB #B0B6E9
Accessibility & contrast
On white
5.43
#505FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#505FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FCE
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FCE | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126FD2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505fce; /* rgb */ color: rgb(80, 95, 206); /* oklch */ color: oklch(53.4% 0.171 273.4);
Tailwind
colors: {
custom: {
50: '#8d8cde',
500: '#505fce',
950: '#000000',
},
}SCSS
$custom: #505fce; $custom-light: #8d8cde; $custom-dark: #000000;
JSON
{
"hex": "#505fce",
"rgb": {
"r": 80,
"g": 95,
"b": 206
},
"hsl": {
"h": 232.857,
"s": 56.25,
"l": 56.078
},
"oklch": {
"l": 0.53439,
"c": 0.17081,
"h": 273.4
},
"luminance": 0.14346
}Semantic roles & 50–950 ramp
primary
#505FCE
secondary
#D7D1A3
accent
#CE48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83