#503FBC#503FBC

#503FBC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.187 H 282.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#503FBC
RGBrgb(80, 63, 188)
HSLhsl(248, 50%, 49%)
HSVhsv(248, 66%, 74%)
CMYKcmyk(57.4%, 66.5%, 0%, 26.3%)
CIE-LABlab(35.77, 41.90, -63.52)
CIE-LCHlch(35.77, 76.09, 303.41°)
OKLaboklab(46.41% 0.0404 -0.1827)
OKLCHoklch(46.41% 0.187 282.5)
XYZxyz(14.1601, 8.8904, 48.5371)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FBC #ABBC3F
analogous
#3F6DBC #503FBC #8F3FBC
triadic
#503FBC #BC503F #3FBC50
tetradic
#503FBC #BC3F6D #ABBC3F #3FBC8F
square
#503FBC #BC3F6D #ABBC3F #3FBC8F
split-complementary
#503FBC #BC8F3F #6DBC3F
monochromatic
#292060 #3C308E #503FBC #786BCD #A299DD

Accessibility & contrast

On white

7.56
#503FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#503FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FBC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FBC#FFFFFF#000000##FFFFFF
##503FBC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#145F78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #503fbc;
/* rgb */ color: rgb(80, 63, 188);
/* oklch */ color: oklch(46.4% 0.187 282.5);
Tailwind
colors: {
  custom: {
    50: '#8c75d1',
    500: '#503fbc',
    950: '#000000',
  },
}
SCSS
$custom: #503fbc;
$custom-light: #8c75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#503fbc",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 248.16,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.18714,
    "h": 282.5
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#503FBC
secondary
#C1C98E
accent
#D94EC6
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #503FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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