#505FBD#505FBD
#505FBD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.147 H 273.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #505FBD |
|---|---|
| RGB | rgb(80, 95, 189) |
| HSL | hsl(232, 45%, 53%) |
| HSV | hsv(232, 58%, 74%) |
| CMYK | cmyk(57.7%, 49.7%, 0%, 25.9%) |
| CIE-LAB | lab(43.60, 22.50, -51.42) |
| CIE-LCH | lch(43.60, 56.12, 293.63°) |
| OKLab | oklab(52.23% 0.0088 -0.1469) |
| OKLCH | oklch(52.23% 0.147 273.4) |
| XYZ | xyz(16.5828, 13.5628, 49.8783) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 6.04
Royal Blue
#4169E1
ΔE00 6.17
Dusky Blue
#475F94
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FBD #BDAE50
analogous
#5095BD #505FBD #7750BD
triadic
#505FBD #BD505F #5FBD50
tetradic
#505FBD #BD5095 #BDAE50 #50BD77
square
#505FBD #BD5095 #BDAE50 #50BD77
split-complementary
#505FBD #BD7750 #95BD50
monochromatic
#28316A #394697 #505FBD #7C88CE #A9B0DF
Accessibility & contrast
On white
5.66
#505FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#505FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FBD
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FBD | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6CC0
Deuteranopia (green-blind)
#1C63BB
Tritanopia (blue-blind)
#037485
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505fbd; /* rgb */ color: rgb(80, 95, 189); /* oklch */ color: oklch(52.2% 0.147 273.4);
Tailwind
colors: {
custom: {
50: '#8a8cd1',
500: '#505fbd',
950: '#000000',
},
}SCSS
$custom: #505fbd; $custom-light: #8a8cd1; $custom-dark: #000000;
JSON
{
"hex": "#505fbd",
"rgb": {
"r": 80,
"g": 95,
"b": 189
},
"hsl": {
"h": 231.743,
"s": 45.228,
"l": 52.745
},
"oklch": {
"l": 0.52234,
"c": 0.1472,
"h": 273.4
},
"luminance": 0.13564
}Semantic roles & 50–950 ramp
primary
#505FBD
secondary
#CCC69D
accent
#C353D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82