#505B97#505B97
#505B97 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.0% C 0.097 H 274.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #505B97 |
|---|---|
| RGB | rgb(80, 91, 151) |
| HSL | hsl(231, 31%, 45%) |
| HSV | hsv(231, 47%, 59%) |
| CMYK | cmyk(47%, 39.7%, 0%, 40.8%) |
| CIE-LAB | lab(40.28, 12.58, -34.27) |
| CIE-LCH | lch(40.28, 36.50, 290.16°) |
| OKLab | oklab(48.98% 0.0075 -0.0967) |
| OKLCH | oklch(48.98% 0.097 274.4) |
| XYZ | xyz(12.6335, 11.4213, 30.8110) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.28
Twilight
#4E518B
ΔE00 3.85
Dusk
#4E5481
ΔE00 4.59
Denim Blue
#3B5B92
ΔE00 4.97
Denim (survey)
#3B638C
ΔE00 7.78
Dusk Blue
#26538D
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505B97 #978C50
analogous
#507E97 #505B97 #685097
triadic
#505B97 #97505B #5B9750
tetradic
#505B97 #97507E #978C50 #509768
square
#505B97 #97507E #978C50 #509768
split-complementary
#505B97 #976850 #7E9750
monochromatic
#262B47 #3B436F #505B97 #717BB4 #99A0C9
Accessibility & contrast
On white
6.39
#505B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#505B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505B97
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505B97 | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#3F5C96
Tritanopia (blue-blind)
#366772
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #505b97; /* rgb */ color: rgb(80, 91, 151); /* oklch */ color: oklch(49.0% 0.097 274.4);
Tailwind
colors: {
custom: {
50: '#8589b6',
500: '#505b97',
950: '#000000',
},
}SCSS
$custom: #505b97; $custom-light: #8589b6; $custom-dark: #000000;
JSON
{
"hex": "#505b97",
"rgb": {
"r": 80,
"g": 91,
"b": 151
},
"hsl": {
"h": 230.704,
"s": 30.736,
"l": 45.294
},
"oklch": {
"l": 0.48983,
"c": 0.09698,
"h": 274.4
},
"luminance": 0.11422
}Semantic roles & 50–950 ramp
primary
#505B97
secondary
#B6AF8D
accent
#B761C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80