#505299#505299
#505299 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.2% C 0.113 H 279.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #505299 |
|---|---|
| RGB | rgb(80, 82, 153) |
| HSL | hsl(238, 31%, 46%) |
| HSV | hsv(238, 48%, 60%) |
| CMYK | cmyk(47.7%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(37.91, 18.96, -39.23) |
| CIE-LCH | lch(37.91, 43.57, 295.80°) |
| OKLab | oklab(47.21% 0.0195 -0.1112) |
| OKLCH | oklch(47.21% 0.113 279.9) |
| XYZ | xyz(12.0736, 10.0394, 31.4324) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.65
Dusk
#4E5481
ΔE00 5.16
Blueberry
#464196
ΔE00 5.45
Dusky Blue
#475F94
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.72
Denim Blue
#3B5B92
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505299 #999750
analogous
#507699 #505299 #725099
triadic
#505299 #995052 #529950
tetradic
#505299 #995076 #999750 #509972
square
#505299 #995076 #999750 #509972
split-complementary
#505299 #997250 #769950
monochromatic
#262749 #3B3C71 #505299 #7173B5 #999BCA
Accessibility & contrast
On white
6.98
#505299 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#505299 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505299
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505299 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#305797
Tritanopia (blue-blind)
#36616E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #505299; /* rgb */ color: rgb(80, 82, 153); /* oklch */ color: oklch(47.2% 0.113 279.9);
Tailwind
colors: {
custom: {
50: '#8682b7',
500: '#505299',
950: '#000000',
},
}SCSS
$custom: #505299; $custom-light: #8682b7; $custom-dark: #000000;
JSON
{
"hex": "#505299",
"rgb": {
"r": 80,
"g": 82,
"b": 153
},
"hsl": {
"h": 238.356,
"s": 31.33,
"l": 45.686
},
"oklch": {
"l": 0.47212,
"c": 0.11294,
"h": 279.9
},
"luminance": 0.1004
}Semantic roles & 50–950 ramp
primary
#505299
secondary
#B7B68E
accent
#C560C8
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80