#505EBF#505EBF
#505EBF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.151 H 273.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #505EBF |
|---|---|
| RGB | rgb(80, 94, 191) |
| HSL | hsl(232, 46%, 53%) |
| HSV | hsv(232, 58%, 75%) |
| CMYK | cmyk(58.1%, 50.8%, 0%, 25.1%) |
| CIE-LAB | lab(43.46, 23.80, -52.80) |
| CIE-LCH | lch(43.46, 57.91, 294.26°) |
| OKLab | oklab(52.17% 0.01 -0.151) |
| OKLCH | oklch(52.17% 0.151 273.8) |
| XYZ | xyz(16.7119, 13.4712, 50.9997) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.42
Iris
#6258C4
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 5.71
Royal Blue
#4169E1
ΔE00 6.21
Light Indigo
#6D5ACF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505EBF #BFB150
analogous
#5096BF #505EBF #7950BF
triadic
#505EBF #BF505E #5EBF50
tetradic
#505EBF #BF5096 #BFB150 #50BF79
square
#505EBF #BF5096 #BFB150 #50BF79
split-complementary
#505EBF #BF7950 #96BF50
monochromatic
#28306D #38449A #505EBF #7D87CF #AAB0E0
Accessibility & contrast
On white
5.68
#505EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#505EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505EBF
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505EBF | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6CC2
Deuteranopia (green-blind)
#1462BD
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505ebf; /* rgb */ color: rgb(80, 94, 191); /* oklch */ color: oklch(52.2% 0.151 273.8);
Tailwind
colors: {
custom: {
50: '#8a8bd3',
500: '#505ebf',
950: '#000000',
},
}SCSS
$custom: #505ebf; $custom-light: #8a8bd3; $custom-dark: #000000;
JSON
{
"hex": "#505ebf",
"rgb": {
"r": 80,
"g": 94,
"b": 191
},
"hsl": {
"h": 232.432,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.52173,
"c": 0.15133,
"h": 273.8
},
"luminance": 0.13472
}Semantic roles & 50–950 ramp
primary
#505EBF
secondary
#CDC79D
accent
#C552D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83