#505BBE#505BBE
#505BBE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.154 H 274.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #505BBE |
|---|---|
| RGB | rgb(80, 91, 190) |
| HSL | hsl(234, 46%, 53%) |
| HSV | hsv(234, 58%, 75%) |
| CMYK | cmyk(57.9%, 52.1%, 0%, 25.5%) |
| CIE-LAB | lab(42.62, 25.36, -53.58) |
| CIE-LCH | lch(42.62, 59.28, 295.33°) |
| OKLab | oklab(51.51% 0.0131 -0.1533) |
| OKLCH | oklch(51.51% 0.154 274.9) |
| XYZ | xyz(16.3406, 12.9041, 50.3349) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.84
Warm Blue
#4B57DB
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.38
Light Indigo
#6D5ACF
ΔE00 5.99
Azul
#1D5DEC
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BBE #BEB350
analogous
#5092BE #505BBE #7C50BE
triadic
#505BBE #BE505B #5BBE50
tetradic
#505BBE #BE5092 #BEB350 #50BE7C
square
#505BBE #BE5092 #BEB350 #50BE7C
split-complementary
#505BBE #BE7C50 #92BE50
monochromatic
#282F6C #394298 #505BBE #7D85CF #A9AFDF
Accessibility & contrast
On white
5.86
#505BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#505BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BBE
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BBE | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#027284
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #505bbe; /* rgb */ color: rgb(80, 91, 190); /* oklch */ color: oklch(51.5% 0.154 274.9);
Tailwind
colors: {
custom: {
50: '#8a89d2',
500: '#505bbe',
950: '#000000',
},
}SCSS
$custom: #505bbe; $custom-light: #8a89d2; $custom-dark: #000000;
JSON
{
"hex": "#505bbe",
"rgb": {
"r": 80,
"g": 91,
"b": 190
},
"hsl": {
"h": 234,
"s": 45.833,
"l": 52.941
},
"oklch": {
"l": 0.51514,
"c": 0.15389,
"h": 274.9
},
"luminance": 0.12905
}Semantic roles & 50–950 ramp
primary
#505BBE
secondary
#CDC89D
accent
#C852D5
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83