#504BCF#504BCF
#504BCF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.0% C 0.197 H 278.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #504BCF |
|---|---|
| RGB | rgb(80, 75, 207) |
| HSL | hsl(242, 58%, 55%) |
| HSV | hsv(242, 64%, 81%) |
| CMYK | cmyk(61.4%, 63.8%, 0%, 18.8%) |
| CIE-LAB | lab(39.98, 40.86, -67.71) |
| CIE-LCH | lch(39.98, 79.08, 301.11°) |
| OKLab | oklab(49.96% 0.0281 -0.195) |
| OKLCH | oklch(49.96% 0.197 278.2) |
| XYZ | xyz(17.0832, 11.2413, 60.2889) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.08
Bluey Purple
#6241C7
ΔE00 4.18
Blue With A Hint Of Purple
#533CC6
ΔE00 4.27
Ocean Blue
#4F42B5
ΔE00 4.43
Iris
#6258C4
ΔE00 4.68
Blurple
#5539CC
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504BCF #CACF4B
analogous
#4B88CF #504BCF #924BCF
triadic
#504BCF #CF504B #4BCF50
tetradic
#504BCF #CF4B88 #CACF4B #4BCF92
square
#504BCF #CF4B88 #CACF4B #4BCF92
split-complementary
#504BCF #CF924B #88CF4B
monochromatic
#25227E #332EAE #504BCF #7F7BDC #AEACE9
Accessibility & contrast
On white
6.46
#504BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#504BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504BCF
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504BCF | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #504bcf; /* rgb */ color: rgb(80, 75, 207); /* oklch */ color: oklch(50.0% 0.197 278.2);
Tailwind
colors: {
custom: {
50: '#8e7edf',
500: '#504bcf',
950: '#000000',
},
}SCSS
$custom: #504bcf; $custom-light: #8e7edf; $custom-dark: #000000;
JSON
{
"hex": "#504bcf",
"rgb": {
"r": 80,
"g": 75,
"b": 207
},
"hsl": {
"h": 242.273,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.49956,
"c": 0.19701,
"h": 278.2
},
"luminance": 0.11243
}Semantic roles & 50–950 ramp
primary
#504BCF
secondary
#D4D69F
accent
#E147DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83