#505FC8#505FC8
#505FC8 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.163 H 273.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #505FC8 |
|---|---|
| RGB | rgb(80, 95, 200) |
| HSL | hsl(233, 52%, 55%) |
| HSV | hsv(233, 60%, 78%) |
| CMYK | cmyk(60%, 52.5%, 0%, 21.6%) |
| CIE-LAB | lab(44.32, 26.20, -56.63) |
| CIE-LCH | lch(44.32, 62.40, 294.82°) |
| OKLab | oklab(53.01% 0.0097 -0.1623) |
| OKLCH | oklch(53.01% 0.163 273.4) |
| XYZ | xyz(17.8224, 14.0586, 56.4068) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 4.19
Iris
#6258C4
ΔE00 4.45
Royal Blue
#4169E1
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.36
Azul
#1D5DEC
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FC8 #C8B950
analogous
#509BC8 #505FC8 #7D50C8
triadic
#505FC8 #C8505F #5FC850
tetradic
#505FC8 #C8509B #C8B950 #50C87D
square
#505FC8 #C8509B #C8B950 #50C87D
split-complementary
#505FC8 #C87D50 #9BC850
monochromatic
#263078 #3443A6 #505FC8 #7F8AD7 #ADB4E5
Accessibility & contrast
On white
5.51
#505FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#505FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FC8
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FC8 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206ECC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #505fc8; /* rgb */ color: rgb(80, 95, 200); /* oklch */ color: oklch(53.0% 0.163 273.4);
Tailwind
colors: {
custom: {
50: '#8c8cd9',
500: '#505fc8',
950: '#000000',
},
}SCSS
$custom: #505fc8; $custom-light: #8c8cd9; $custom-dark: #000000;
JSON
{
"hex": "#505fc8",
"rgb": {
"r": 80,
"g": 95,
"b": 200
},
"hsl": {
"h": 232.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.53005,
"c": 0.16257,
"h": 273.4
},
"luminance": 0.1406
}Semantic roles & 50–950 ramp
primary
#505FC8
secondary
#D3CDA1
accent
#CA4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83