#505BB0#505BB0
#505BB0 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.134 H 275.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #505BB0 |
|---|---|
| RGB | rgb(80, 91, 176) |
| HSL | hsl(233, 38%, 50%) |
| HSV | hsv(233, 55%, 69%) |
| CMYK | cmyk(54.5%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(41.72, 20.70, -46.83) |
| CIE-LCH | lch(41.72, 51.20, 293.85°) |
| OKLab | oklab(50.55% 0.0117 -0.1335) |
| OKLCH | oklch(50.55% 0.134 275) |
| XYZ | xyz(14.8833, 12.3212, 42.6598) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.98
Dusky Blue
#475F94
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 6.20
Denim Blue
#3B5B92
ΔE00 6.25
Dark Periwinkle
#665FD1
ΔE00 6.37
Slate Blue
#6A5ACD
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BB0 #B0A550
analogous
#508BB0 #505BB0 #7550B0
triadic
#505BB0 #B0505B #5BB050
tetradic
#505BB0 #B0508B #B0A550 #50B075
square
#505BB0 #B0508B #B0A550 #50B075
split-complementary
#505BB0 #B07550 #8BB050
monochromatic
#2A2F5C #3D4586 #505BB0 #7A83C3 #A4AAD6
Accessibility & contrast
On white
6.06
#505BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#505BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BB0
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BB0 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3367B3
Deuteranopia (green-blind)
#275FAE
Tritanopia (blue-blind)
#216E7D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #505bb0; /* rgb */ color: rgb(80, 91, 176); /* oklch */ color: oklch(50.5% 0.134 275.0);
Tailwind
colors: {
custom: {
50: '#8889c8',
500: '#505bb0',
950: '#000000',
},
}SCSS
$custom: #505bb0; $custom-light: #8889c8; $custom-dark: #000000;
JSON
{
"hex": "#505bb0",
"rgb": {
"r": 80,
"g": 91,
"b": 176
},
"hsl": {
"h": 233.125,
"s": 37.795,
"l": 50.196
},
"oklch": {
"l": 0.5055,
"c": 0.13399,
"h": 275
},
"luminance": 0.12322
}Semantic roles & 50–950 ramp
primary
#505BB0
secondary
#C3BE98
accent
#C05ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82