#503FB4#503FB4

#503FB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.177 H 283.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#503FB4
RGBrgb(80, 63, 180)
HSLhsl(249, 48%, 48%)
HSVhsv(249, 65%, 71%)
CMYKcmyk(55.6%, 65%, 0%, 29.4%)
CIE-LABlab(35.11, 39.41, -59.87)
CIE-LCHlch(35.11, 71.68, 303.35°)
OKLaboklab(45.73% 0.0414 -0.172)
OKLCHoklch(45.73% 0.177 283.5)
XYZxyz(13.3215, 8.5550, 44.1205)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FB4 #A3B43F
analogous
#3F68B4 #503FB4 #8A3FB4
triadic
#503FB4 #B4503F #3FB450
tetradic
#503FB4 #B43F68 #A3B43F #3FB48A
square
#503FB4 #B43F68 #A3B43F #3FB48A
split-complementary
#503FB4 #B48A3F #68B43F
monochromatic
#281F59 #3C2F87 #503FB4 #7567CA #9E94DA

Accessibility & contrast

On white

7.75
#503FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#503FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FB4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FB4#FFFFFF#000000##FFFFFF
##503FB41.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#215C74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #503fb4;
/* rgb */ color: rgb(80, 63, 180);
/* oklch */ color: oklch(45.7% 0.177 283.5);
Tailwind
colors: {
  custom: {
    50: '#8b75cb',
    500: '#503fb4',
    950: '#000000',
  },
}
SCSS
$custom: #503fb4;
$custom-light: #8b75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503fb4",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 248.718,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.17693,
    "h": 283.5
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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