#505FB5#505FB5
#505FB5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.136 H 273.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #505FB5 |
|---|---|
| RGB | rgb(80, 95, 181) |
| HSL | hsl(231, 41%, 51%) |
| HSV | hsv(231, 56%, 71%) |
| CMYK | cmyk(55.8%, 47.5%, 0%, 29%) |
| CIE-LAB | lab(43.10, 19.82, -47.55) |
| CIE-LCH | lch(43.10, 51.52, 292.63°) |
| OKLab | oklab(51.7% 0.0078 -0.1356) |
| OKLCH | oklch(51.7% 0.136 273.3) |
| XYZ | xyz(15.7383, 13.2250, 45.4304) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 5.25
Iris
#6258C4
ΔE00 5.32
Warm Blue
#4B57DB
ΔE00 5.92
Dark Periwinkle
#665FD1
ΔE00 5.95
French Blue
#436BAD
ΔE00 6.16
Denim Blue
#3B5B92
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FB5 #B5A650
analogous
#5091B5 #505FB5 #7350B5
triadic
#505FB5 #B5505F #5FB550
tetradic
#505FB5 #B55091 #B5A650 #50B573
square
#505FB5 #B55091 #B5A650 #50B573
split-complementary
#505FB5 #B57350 #91B550
monochromatic
#293261 #3B478C #505FB5 #7B86C7 #A6AED9
Accessibility & contrast
On white
5.76
#505FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#505FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FB5
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FB5 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#2962B3
Tritanopia (blue-blind)
#187281
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #505fb5; /* rgb */ color: rgb(80, 95, 181); /* oklch */ color: oklch(51.7% 0.136 273.3);
Tailwind
colors: {
custom: {
50: '#898ccc',
500: '#505fb5',
950: '#000000',
},
}SCSS
$custom: #505fb5; $custom-light: #898ccc; $custom-dark: #000000;
JSON
{
"hex": "#505fb5",
"rgb": {
"r": 80,
"g": 95,
"b": 181
},
"hsl": {
"h": 231.089,
"s": 40.562,
"l": 51.176
},
"oklch": {
"l": 0.51695,
"c": 0.13579,
"h": 273.3
},
"luminance": 0.13226
}Semantic roles & 50–950 ramp
primary
#505FB5
secondary
#C7C09A
accent
#BE57D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82