#504BBC#504BBC
#504BBC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.172 H 279.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #504BBC |
|---|---|
| RGB | rgb(80, 75, 188) |
| HSL | hsl(243, 46%, 52%) |
| HSV | hsv(243, 60%, 74%) |
| CMYK | cmyk(57.4%, 60.1%, 0%, 26.3%) |
| CIE-LAB | lab(38.49, 34.70, -59.08) |
| CIE-LCH | lch(38.49, 68.52, 300.43°) |
| OKLab | oklab(48.4% 0.0292 -0.1697) |
| OKLCH | oklch(48.4% 0.172 279.8) |
| XYZ | xyz(14.8986, 10.3675, 48.7832) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.77
Blue With A Hint Of Purple
#533CC6
ΔE00 4.40
Bluey Purple
#6241C7
ΔE00 4.54
Iris
#6258C4
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 5.23
Blurple
#5539CC
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504BBC #B7BC4B
analogous
#4B7FBC #504BBC #894BBC
triadic
#504BBC #BC504B #4BBC50
tetradic
#504BBC #BC4B7F #B7BC4B #4BBC89
square
#504BBC #BC4B7F #B7BC4B #4BBC89
split-complementary
#504BBC #BC894B #7FBC4B
monochromatic
#292666 #3B3793 #504BBC #7B78CD #A7A4DD
Accessibility & contrast
On white
6.83
#504BBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#504BBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504BBC
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504BBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504BBC | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#11667C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #504bbc; /* rgb */ color: rgb(80, 75, 188); /* oklch */ color: oklch(48.4% 0.172 279.8);
Tailwind
colors: {
custom: {
50: '#8b7dd1',
500: '#504bbc',
950: '#000000',
},
}SCSS
$custom: #504bbc; $custom-light: #8b7dd1; $custom-dark: #000000;
JSON
{
"hex": "#504bbc",
"rgb": {
"r": 80,
"g": 75,
"b": 188
},
"hsl": {
"h": 242.655,
"s": 45.749,
"l": 51.569
},
"oklch": {
"l": 0.48399,
"c": 0.17216,
"h": 279.8
},
"luminance": 0.10368
}Semantic roles & 50–950 ramp
primary
#504BBC
secondary
#C8CA99
accent
#D552D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82