#504B95#504B95
#504B95 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.5% C 0.117 H 283.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #504B95 |
|---|---|
| RGB | rgb(80, 75, 149) |
| HSL | hsl(244, 33%, 44%) |
| HSV | hsv(244, 50%, 58%) |
| CMYK | cmyk(46.3%, 49.7%, 0%, 41.6%) |
| CIE-LAB | lab(35.80, 22.18, -40.18) |
| CIE-LCH | lch(35.80, 45.89, 298.90°) |
| OKLab | oklab(45.54% 0.0279 -0.1141) |
| OKLCH | oklch(45.54% 0.117 283.8) |
| XYZ | xyz(11.2476, 8.9071, 29.5545) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.39
Blueberry
#464196
ΔE00 3.47
Darkslateblue
#483D8B
ΔE00 4.37
Dusk
#4E5481
ΔE00 6.04
Ocean Blue
#4F42B5
ΔE00 6.33
Iris
#6258C4
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504B95 #90954B
analogous
#4B6B95 #504B95 #754B95
triadic
#504B95 #95504B #4B9550
tetradic
#504B95 #954B6B #90954B #4B9575
square
#504B95 #954B6B #90954B #4B9575
split-complementary
#504B95 #95754B #6B954B
monochromatic
#242244 #3A376C #504B95 #6E69B4 #9692C8
Accessibility & contrast
On white
7.55
#504B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#504B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504B95
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504B95 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#285293
Tritanopia (blue-blind)
#395B69
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #504b95; /* rgb */ color: rgb(80, 75, 149); /* oklch */ color: oklch(45.5% 0.117 283.8);
Tailwind
colors: {
custom: {
50: '#857db4',
500: '#504b95',
950: '#000000',
},
}SCSS
$custom: #504b95; $custom-light: #857db4; $custom-dark: #000000;
JSON
{
"hex": "#504b95",
"rgb": {
"r": 80,
"g": 75,
"b": 149
},
"hsl": {
"h": 244.054,
"s": 33.036,
"l": 43.922
},
"oklch": {
"l": 0.4554,
"c": 0.11744,
"h": 283.8
},
"luminance": 0.08908
}Semantic roles & 50–950 ramp
primary
#504B95
secondary
#B1B487
accent
#C95FC2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80