#503DD4#503DD4

#503DD4 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.3% C 0.219 H 280.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#503DD4
RGBrgb(80, 61, 212)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 83%)
CMYKcmyk(62.3%, 71.2%, 0%, 16.9%)
CIE-LABlab(37.47, 50.44, -74.71)
CIE-LCHlch(37.47, 90.14, 304.02°)
OKLaboklab(48.28% 0.0381 -0.2155)
OKLCHoklch(48.28% 0.219 280)
XYZxyz(16.8569, 9.7951, 63.2769)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DD4 #C1D43D
analogous
#3D75D4 #503DD4 #9B3DD4
triadic
#503DD4 #D4503D #3DD450
tetradic
#503DD4 #D43D75 #C1D43D #3DD49B
square
#503DD4 #D43D75 #C1D43D #3DD49B
split-complementary
#503DD4 #D49B3D #75D43D
monochromatic
#271B7B #3726AD #503DD4 #7D6FDF #AAA1EA

Accessibility & contrast

On white

7.10
#503DD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#503DD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DD4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DD4#FFFFFF#000000##FFFFFF
##503DD41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0052D1
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #503dd4;
/* rgb */ color: rgb(80, 61, 212);
/* oklch */ color: oklch(48.3% 0.219 280.0);
Tailwind
colors: {
  custom: {
    50: '#9075e2',
    500: '#503dd4',
    950: '#000000',
  },
}
SCSS
$custom: #503dd4;
$custom-light: #9075e2;
$custom-dark: #000000;
JSON
{
  "hex": "#503dd4",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 247.55,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.21886,
    "h": 280
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#503DD4
secondary
#CFD796
accent
#E741D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #503DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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