#503FB0#503FB0

#503FB0 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.172 H 284.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#503FB0
RGBrgb(80, 63, 176)
HSLhsl(249, 47%, 47%)
HSVhsv(249, 64%, 69%)
CMYKcmyk(54.5%, 64.2%, 0%, 31%)
CIE-LABlab(34.79, 38.16, -58.02)
CIE-LCHlch(34.79, 69.45, 303.33°)
OKLaboklab(45.4% 0.0418 -0.1666)
OKLCHoklch(45.4% 0.172 284.1)
XYZxyz(12.9199, 8.3943, 42.0054)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FB0 #9FB03F
analogous
#3F66B0 #503FB0 #893FB0
triadic
#503FB0 #B0503F #3FB050
tetradic
#503FB0 #B03F66 #9FB03F #3FB089
square
#503FB0 #B03F66 #9FB03F #3FB089
split-complementary
#503FB0 #B0893F #66B03F
monochromatic
#271F56 #3C2F83 #503FB0 #7365C8 #9C92D8

Accessibility & contrast

On white

7.84
#503FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#503FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FB0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FB0#FFFFFF#000000##FFFFFF
##503FB01.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#265B71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503fb0;
/* rgb */ color: rgb(80, 63, 176);
/* oklch */ color: oklch(45.4% 0.172 284.1);
Tailwind
colors: {
  custom: {
    50: '#8a75c8',
    500: '#503fb0',
    950: '#000000',
  },
}
SCSS
$custom: #503fb0;
$custom-light: #8a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503fb0",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 249.027,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.17175,
    "h": 284.1
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#503FB0
secondary
#BAC388
accent
#D751C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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