#503FB2#503FB2
#503FB2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.174 H 283.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #503FB2 |
|---|---|
| RGB | rgb(80, 63, 178) |
| HSL | hsl(249, 48%, 47%) |
| HSV | hsv(249, 65%, 70%) |
| CMYK | cmyk(55.1%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.95, 38.78, -58.95) |
| CIE-LCH | lch(34.95, 70.56, 303.34°) |
| OKLab | oklab(45.56% 0.0415 -0.1693) |
| OKLCH | oklch(45.56% 0.174 283.8) |
| XYZ | xyz(13.1192, 8.4741, 43.0552) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 0.98
Blue With A Hint Of Purple
#533CC6
ΔE00 2.94
Blurple
#5539CC
ΔE00 3.92
Bluey Purple
#6241C7
ΔE00 4.13
Blueberry
#464196
ΔE00 4.86
Blue Blue
#2242C7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#503FB2 #A1B23F
analogous
#3F67B2 #503FB2 #8A3FB2
triadic
#503FB2 #B2503F #3FB250
tetradic
#503FB2 #B23F67 #A1B23F #3FB28A
square
#503FB2 #B23F67 #A1B23F #3FB28A
split-complementary
#503FB2 #B28A3F #67B23F
monochromatic
#271F58 #3C2F85 #503FB2 #7466C9 #9D93D9
Accessibility & contrast
On white
7.79
#503FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#503FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #503FB2
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##503FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##503FB2 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#245B73
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #503fb2; /* rgb */ color: rgb(80, 63, 178); /* oklch */ color: oklch(45.6% 0.174 283.8);
Tailwind
colors: {
custom: {
50: '#8a75ca',
500: '#503fb2',
950: '#000000',
},
}SCSS
$custom: #503fb2; $custom-light: #8a75ca; $custom-dark: #000000;
JSON
{
"hex": "#503fb2",
"rgb": {
"r": 80,
"g": 63,
"b": 178
},
"hsl": {
"h": 248.87,
"s": 47.718,
"l": 47.255
},
"oklch": {
"l": 0.45563,
"c": 0.17434,
"h": 283.8
},
"luminance": 0.08475
}Semantic roles & 50–950 ramp
primary
#503FB2
secondary
#BBC489
accent
#D750C3
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82