#503EB2#503EB2
#503EB2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.176 H 284.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #503EB2 |
|---|---|
| RGB | rgb(80, 62, 178) |
| HSL | hsl(249, 48%, 47%) |
| HSV | hsv(249, 65%, 70%) |
| CMYK | cmyk(55.1%, 65.2%, 0%, 30.2%) |
| CIE-LAB | lab(34.73, 39.37, -59.31) |
| CIE-LCH | lch(34.73, 71.19, 303.58°) |
| OKLab | oklab(45.4% 0.0425 -0.1704) |
| OKLCH | oklch(45.4% 0.176 284) |
| XYZ | xyz(13.0643, 8.3643, 43.0369) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.22
Blue With A Hint Of Purple
#533CC6
ΔE00 2.88
Blurple
#5539CC
ΔE00 3.83
Bluey Purple
#6241C7
ΔE00 4.15
Blueberry
#464196
ΔE00 4.95
Blue Blue
#2242C7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#503EB2 #A0B23E
analogous
#3E66B2 #503EB2 #8A3EB2
triadic
#503EB2 #B2503E #3EB250
tetradic
#503EB2 #B23E66 #A0B23E #3EB28A
square
#503EB2 #B23E66 #A0B23E #3EB28A
split-complementary
#503EB2 #B28A3E #66B23E
monochromatic
#271E57 #3C2E85 #503EB2 #7464C9 #9D92D9
Accessibility & contrast
On white
7.86
#503EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#503EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #503EB2
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##503EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##503EB2 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#245B72
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #503eb2; /* rgb */ color: rgb(80, 62, 178); /* oklch */ color: oklch(45.4% 0.176 284.0);
Tailwind
colors: {
custom: {
50: '#8a74ca',
500: '#503eb2',
950: '#000000',
},
}SCSS
$custom: #503eb2; $custom-light: #8a74ca; $custom-dark: #000000;
JSON
{
"hex": "#503eb2",
"rgb": {
"r": 80,
"g": 62,
"b": 178
},
"hsl": {
"h": 249.31,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.45403,
"c": 0.1756,
"h": 284
},
"luminance": 0.08365
}Semantic roles & 50–950 ramp
primary
#503EB2
secondary
#BBC488
accent
#D850C3
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82