#505CF1#505CF1
#505CF1 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.220 H 273.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #505CF1 |
|---|---|
| RGB | rgb(80, 92, 241) |
| HSL | hsl(236, 85%, 63%) |
| HSV | hsv(236, 67%, 95%) |
| CMYK | cmyk(66.8%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(46.59, 41.83, -76.26) |
| CIE-LCH | lch(46.59, 86.98, 298.75°) |
| OKLab | oklab(55.64% 0.0126 -0.22) |
| OKLCH | oklch(55.64% 0.22 273.3) |
| XYZ | xyz(23.0073, 15.7085, 85.0216) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.46
Electric Blue
#0652FF
ΔE00 4.52
Azul
#1D5DEC
ΔE00 4.71
Dark Periwinkle
#665FD1
ΔE00 4.89
Royal Blue
#4169E1
ΔE00 5.62
Bright Blue
#0165FC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CF1 #F1E550
analogous
#50ACF1 #505CF1 #9450F1
triadic
#505CF1 #F1505C #5CF150
tetradic
#505CF1 #F150AC #F1E550 #50F194
square
#505CF1 #F150AC #F1E550 #50F194
split-complementary
#505CF1 #F19450 #ACF150
monochromatic
#0F1BB8 #1727EC #505CF1 #8991F6 #C1C6FA
Accessibility & contrast
On white
5.07
#505CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#505CF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CF1
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CF1 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#0067EE
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #505cf1; /* rgb */ color: rgb(80, 92, 241); /* oklch */ color: oklch(55.6% 0.220 273.3);
Tailwind
colors: {
custom: {
50: '#938af7',
500: '#505cf1',
950: '#000000',
},
}SCSS
$custom: #505cf1; $custom-light: #938af7; $custom-dark: #000000;
JSON
{
"hex": "#505cf1",
"rgb": {
"r": 80,
"g": 92,
"b": 241
},
"hsl": {
"h": 235.528,
"s": 85.185,
"l": 62.941
},
"oklch": {
"l": 0.55638,
"c": 0.22035,
"h": 273.3
},
"luminance": 0.15711
}Semantic roles & 50–950 ramp
primary
#505CF1
secondary
#EBE7B1
accent
#D104E2
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85