#505697#505697
#505697 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.104 H 277.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #505697 |
|---|---|
| RGB | rgb(80, 86, 151) |
| HSL | hsl(235, 31%, 45%) |
| HSV | hsv(235, 47%, 59%) |
| CMYK | cmyk(47%, 43%, 0%, 40.8%) |
| CIE-LAB | lab(38.89, 15.77, -36.47) |
| CIE-LCH | lch(38.89, 39.73, 293.38°) |
| OKLab | oklab(47.92% 0.014 -0.1031) |
| OKLCH | oklch(47.92% 0.104 277.7) |
| XYZ | xyz(12.2203, 10.5948, 30.6732) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.54
Dusk
#4E5481
ΔE00 4.39
Dusky Blue
#475F94
ΔE00 4.85
Denim Blue
#3B5B92
ΔE00 6.01
Blueberry
#464196
ΔE00 6.92
Iris
#6258C4
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505697 #979150
analogous
#507997 #505697 #6E5097
triadic
#505697 #975056 #569750
tetradic
#505697 #975079 #979150 #50976E
square
#505697 #975079 #979150 #50976E
split-complementary
#505697 #976E50 #799750
monochromatic
#262847 #3B3F6F #505697 #7176B4 #999DC9
Accessibility & contrast
On white
6.73
#505697 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#505697 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505697
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505697 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#37636F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #505697; /* rgb */ color: rgb(80, 86, 151); /* oklch */ color: oklch(47.9% 0.104 277.7);
Tailwind
colors: {
custom: {
50: '#8585b6',
500: '#505697',
950: '#000000',
},
}SCSS
$custom: #505697; $custom-light: #8585b6; $custom-dark: #000000;
JSON
{
"hex": "#505697",
"rgb": {
"r": 80,
"g": 86,
"b": 151
},
"hsl": {
"h": 234.93,
"s": 30.736,
"l": 45.294
},
"oklch": {
"l": 0.47917,
"c": 0.10409,
"h": 277.7
},
"luminance": 0.10595
}Semantic roles & 50–950 ramp
primary
#505697
secondary
#B6B28D
accent
#BE61C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80