#505FCF#505FCF
#505FCF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.172 H 273.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #505FCF |
|---|---|
| RGB | rgb(80, 95, 207) |
| HSL | hsl(233, 57%, 56%) |
| HSV | hsv(233, 61%, 81%) |
| CMYK | cmyk(61.4%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(44.79, 28.56, -59.89) |
| CIE-LCH | lch(44.79, 66.35, 295.49°) |
| OKLab | oklab(53.51% 0.0101 -0.1719) |
| OKLCH | oklch(53.51% 0.172 273.4) |
| XYZ | xyz(18.6592, 14.3934, 60.8143) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.94
Dark Periwinkle
#665FD1
ΔE00 3.83
Iris
#6258C4
ΔE00 4.53
Royal Blue
#4169E1
ΔE00 4.74
Azul
#1D5DEC
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FCF #CFC050
analogous
#509FCF #505FCF #8150CF
triadic
#505FCF #CF505F #5FCF50
tetradic
#505FCF #CF509F #CFC050 #50CF81
square
#505FCF #CF509F #CFC050 #50CF81
split-complementary
#505FCF #CF8150 #9FCF50
monochromatic
#232F81 #3140B1 #505FCF #808BDC #B0B7E9
Accessibility & contrast
On white
5.41
#505FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#505FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FCF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FCF | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F70D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505fcf; /* rgb */ color: rgb(80, 95, 207); /* oklch */ color: oklch(53.5% 0.172 273.4);
Tailwind
colors: {
custom: {
50: '#8d8cde',
500: '#505fcf',
950: '#000000',
},
}SCSS
$custom: #505fcf; $custom-light: #8d8cde; $custom-dark: #000000;
JSON
{
"hex": "#505fcf",
"rgb": {
"r": 80,
"g": 95,
"b": 207
},
"hsl": {
"h": 232.913,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.53513,
"c": 0.17217,
"h": 273.4
},
"luminance": 0.14395
}Semantic roles & 50–950 ramp
primary
#505FCF
secondary
#D8D1A3
accent
#CE48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83