#505BB1#505BB1
#505BB1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.135 H 275.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #505BB1 |
|---|---|
| RGB | rgb(80, 91, 177) |
| HSL | hsl(233, 38%, 50%) |
| HSV | hsv(233, 55%, 69%) |
| CMYK | cmyk(54.8%, 48.6%, 0%, 30.6%) |
| CIE-LAB | lab(41.78, 21.03, -47.31) |
| CIE-LCH | lch(41.78, 51.78, 293.96°) |
| OKLab | oklab(50.62% 0.0118 -0.1349) |
| OKLCH | oklch(50.62% 0.135 275) |
| XYZ | xyz(14.9826, 12.3610, 43.1828) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.88
Dusky Blue
#475F94
ΔE00 5.32
Warm Blue
#4B57DB
ΔE00 6.05
Dark Periwinkle
#665FD1
ΔE00 6.24
Denim Blue
#3B5B92
ΔE00 6.34
Slate Blue
#6A5ACD
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BB1 #B1A650
analogous
#508BB1 #505BB1 #7550B1
triadic
#505BB1 #B1505B #5BB150
tetradic
#505BB1 #B1508B #B1A650 #50B175
square
#505BB1 #B1508B #B1A650 #50B175
split-complementary
#505BB1 #B17550 #8BB150
monochromatic
#292F5D #3C4587 #505BB1 #7A83C4 #A5AAD7
Accessibility & contrast
On white
6.05
#505BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#505BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BB1
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BB1 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#265FAF
Tritanopia (blue-blind)
#206E7D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #505bb1; /* rgb */ color: rgb(80, 91, 177); /* oklch */ color: oklch(50.6% 0.135 275.0);
Tailwind
colors: {
custom: {
50: '#8889c9',
500: '#505bb1',
950: '#000000',
},
}SCSS
$custom: #505bb1; $custom-light: #8889c9; $custom-dark: #000000;
JSON
{
"hex": "#505bb1",
"rgb": {
"r": 80,
"g": 91,
"b": 177
},
"hsl": {
"h": 233.196,
"s": 38.34,
"l": 50.392
},
"oklch": {
"l": 0.50617,
"c": 0.13543,
"h": 275
},
"luminance": 0.12362
}Semantic roles & 50–950 ramp
primary
#505BB1
secondary
#C4BF99
accent
#C15ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82