#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
RGBrgb(80, 63, 178)
HSLhsl(249, 48%, 47%)
HSVhsv(249, 65%, 70%)
CMYKcmyk(55.1%, 64.6%, 0%, 30.2%)
CIE-LABlab(34.95, 38.78, -58.95)
CIE-LCHlch(34.95, 70.56, 303.34°)
OKLaboklab(45.56% 0.0415 -0.1693)
OKLCHoklch(45.56% 0.174 283.8)
XYZxyz(13.1192, 8.4741, 43.0552)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##503FB21.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.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

Preview Lab

Preview with #503FB2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#503FB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva