#503FDB#503FDB

#503FDB is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.2% C 0.225 H 279.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#503FDB
RGBrgb(80, 63, 219)
HSLhsl(247, 68%, 55%)
HSVhsv(247, 71%, 86%)
CMYKcmyk(63.5%, 71.2%, 0%, 14.1%)
CIE-LABlab(38.50, 51.49, -77.03)
CIE-LCHlch(38.50, 92.66, 303.76°)
OKLaboklab(49.21% 0.0355 -0.2223)
OKLCHoklch(49.21% 0.225 279.1)
XYZxyz(17.8679, 10.3735, 68.0648)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FDB #CADB3F
analogous
#3F7CDB #503FDB #9E3FDB
triadic
#503FDB #DB503F #3FDB50
tetradic
#503FDB #DB3F7C #CADB3F #3FDB9E
square
#503FDB #DB3F7C #CADB3F #3FDB9E
split-complementary
#503FDB #DB9E3F #7CDB3F
monochromatic
#251986 #3323BA #503FDB #7F73E5 #AEA6EE

Accessibility & contrast

On white

6.83
#503FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#503FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #503FDB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FDB#FFFFFF#000000##FFFFFF
##503FDB1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#0054D8
Tritanopia (blue-blind)
#006A89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #503fdb;
/* rgb */ color: rgb(80, 63, 219);
/* oklch */ color: oklch(49.2% 0.225 279.1);
Tailwind
colors: {
  custom: {
    50: '#9176e7',
    500: '#503fdb',
    950: '#000000',
  },
}
SCSS
$custom: #503fdb;
$custom-light: #9176e7;
$custom-dark: #000000;
JSON
{
  "hex": "#503fdb",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 246.538,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.22513,
    "h": 279.1
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#503FDB
secondary
#D4DC9A
accent
#EB3DD8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #503FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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