#503FBB#503FBB

#503FBB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.3% C 0.186 H 282.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#503FBB
RGBrgb(80, 63, 187)
HSLhsl(248, 50%, 49%)
HSVhsv(248, 66%, 73%)
CMYKcmyk(57.2%, 66.3%, 0%, 26.7%)
CIE-LABlab(35.69, 41.59, -63.07)
CIE-LCHlch(35.69, 75.55, 303.40°)
OKLaboklab(46.33% 0.0405 -0.1814)
OKLCHoklch(46.33% 0.186 282.6)
XYZxyz(14.0526, 8.8474, 47.9713)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FBB #AABB3F
analogous
#3F6CBB #503FBB #8E3FBB
triadic
#503FBB #BB503F #3FBB50
tetradic
#503FBB #BB3F6C #AABB3F #3FBB8E
square
#503FBB #BB3F6C #AABB3F #3FBB8E
split-complementary
#503FBB #BB8E3F #6CBB3F
monochromatic
#29205F #3C308D #503FBB #786ACD #A198DC

Accessibility & contrast

On white

7.58
#503FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#503FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FBB
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FBB#FFFFFF#000000##FFFFFF
##503FBB1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#165F77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #503fbb;
/* rgb */ color: rgb(80, 63, 187);
/* oklch */ color: oklch(46.3% 0.186 282.6);
Tailwind
colors: {
  custom: {
    50: '#8c75d0',
    500: '#503fbb',
    950: '#000000',
  },
}
SCSS
$custom: #503fbb;
$custom-light: #8c75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503fbb",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 248.226,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46327,
    "c": 0.18587,
    "h": 282.6
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#503FBB
secondary
#C0C88E
accent
#D94FC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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