#503FB3#503FB3

#503FB3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.176 H 283.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#503FB3
RGBrgb(80, 63, 179)
HSLhsl(249, 48%, 47%)
HSVhsv(249, 65%, 70%)
CMYKcmyk(55.3%, 64.8%, 0%, 29.8%)
CIE-LABlab(35.03, 39.09, -59.41)
CIE-LCHlch(35.03, 71.12, 303.35°)
OKLaboklab(45.65% 0.0415 -0.1707)
OKLCHoklch(45.65% 0.176 283.7)
XYZxyz(13.2200, 8.5144, 43.5859)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FB3 #A2B33F
analogous
#3F68B3 #503FB3 #8A3FB3
triadic
#503FB3 #B3503F #3FB350
tetradic
#503FB3 #B33F68 #A2B33F #3FB38A
square
#503FB3 #B33F68 #A2B33F #3FB38A
split-complementary
#503FB3 #B38A3F #68B33F
monochromatic
#281F58 #3C2F86 #503FB3 #7566C9 #9E93D9

Accessibility & contrast

On white

7.77
#503FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#503FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FB3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FB3#FFFFFF#000000##FFFFFF
##503FB31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#225C73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503fb3;
/* rgb */ color: rgb(80, 63, 179);
/* oklch */ color: oklch(45.6% 0.176 283.7);
Tailwind
colors: {
  custom: {
    50: '#8a75cb',
    500: '#503fb3',
    950: '#000000',
  },
}
SCSS
$custom: #503fb3;
$custom-light: #8a75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503fb3",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 248.793,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.17564,
    "h": 283.7
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#503FB3
secondary
#BCC489
accent
#D850C4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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