#504B99#504B99
#504B99 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.123 H 283.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #504B99 |
|---|---|
| RGB | rgb(80, 75, 153) |
| HSL | hsl(244, 34%, 45%) |
| HSV | hsv(244, 51%, 60%) |
| CMYK | cmyk(47.7%, 51%, 0%, 40%) |
| CIE-LAB | lab(36.06, 23.44, -42.20) |
| CIE-LCH | lch(36.06, 48.27, 299.05°) |
| OKLab | oklab(45.81% 0.0283 -0.12) |
| OKLCH | oklch(45.81% 0.123 283.3) |
| XYZ | xyz(11.5724, 9.0370, 31.2654) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.27
Twilight
#4E518B
ΔE00 3.94
Darkslateblue
#483D8B
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 5.65
Dusk
#4E5481
ΔE00 6.59
Iris
#6258C4
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504B99 #94994B
analogous
#4B6D99 #504B99 #774B99
triadic
#504B99 #99504B #4B9950
tetradic
#504B99 #994B6D #94994B #4B9977
square
#504B99 #994B6D #94994B #4B9977
split-complementary
#504B99 #99774B #6D994B
monochromatic
#252347 #3B3770 #504B99 #706BB6 #9794CB
Accessibility & contrast
On white
7.48
#504B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#504B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504B99
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504B99 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#375C6B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #504b99; /* rgb */ color: rgb(80, 75, 153); /* oklch */ color: oklch(45.8% 0.123 283.3);
Tailwind
colors: {
custom: {
50: '#867db7',
500: '#504b99',
950: '#000000',
},
}SCSS
$custom: #504b99; $custom-light: #867db7; $custom-dark: #000000;
JSON
{
"hex": "#504b99",
"rgb": {
"r": 80,
"g": 75,
"b": 153
},
"hsl": {
"h": 243.846,
"s": 34.211,
"l": 44.706
},
"oklch": {
"l": 0.4581,
"c": 0.1233,
"h": 283.3
},
"luminance": 0.09038
}Semantic roles & 50–950 ramp
primary
#504B99
secondary
#B4B789
accent
#CA5EC3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80