#505BBF#505BBF
#505BBF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.155 H 274.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #505BBF |
|---|---|
| RGB | rgb(80, 91, 191) |
| HSL | hsl(234, 46%, 53%) |
| HSV | hsv(234, 58%, 75%) |
| CMYK | cmyk(58.1%, 52.4%, 0%, 25.1%) |
| CIE-LAB | lab(42.68, 25.69, -54.05) |
| CIE-LCH | lch(42.68, 59.85, 295.42°) |
| OKLab | oklab(51.59% 0.0131 -0.1547) |
| OKLCH | oklch(51.59% 0.155 274.9) |
| XYZ | xyz(16.4503, 12.9480, 50.9125) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.00
Dark Periwinkle
#665FD1
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 5.30
Light Indigo
#6D5ACF
ΔE00 5.91
Azul
#1D5DEC
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BBF #BFB450
analogous
#5092BF #505BBF #7C50BF
triadic
#505BBF #BF505B #5BBF50
tetradic
#505BBF #BF5092 #BFB450 #50BF7C
square
#505BBF #BF5092 #BFB450 #50BF7C
split-complementary
#505BBF #BF7C50 #92BF50
monochromatic
#282F6D #38429A #505BBF #7D85CF #AAAFE0
Accessibility & contrast
On white
5.85
#505BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#505BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BBF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BBF | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #505bbf; /* rgb */ color: rgb(80, 91, 191); /* oklch */ color: oklch(51.6% 0.155 274.9);
Tailwind
colors: {
custom: {
50: '#8b89d3',
500: '#505bbf',
950: '#000000',
},
}SCSS
$custom: #505bbf; $custom-light: #8b89d3; $custom-dark: #000000;
JSON
{
"hex": "#505bbf",
"rgb": {
"r": 80,
"g": 91,
"b": 191
},
"hsl": {
"h": 234.054,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.51586,
"c": 0.15529,
"h": 274.9
},
"luminance": 0.12949
}Semantic roles & 50–950 ramp
primary
#505BBF
secondary
#CDC99D
accent
#C952D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83