#503FBE#503FBE

#503FBE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.6% C 0.190 H 282.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#503FBE
RGBrgb(80, 63, 190)
HSLhsl(248, 50%, 50%)
HSVhsv(248, 67%, 75%)
CMYKcmyk(57.9%, 66.8%, 0%, 25.5%)
CIE-LABlab(35.94, 42.53, -64.42)
CIE-LCHlch(35.94, 77.19, 303.43°)
OKLaboklab(46.59% 0.0402 -0.1854)
OKLCHoklch(46.59% 0.19 282.2)
XYZxyz(14.3772, 8.9773, 49.6804)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FBE #ADBE3F
analogous
#3F6EBE #503FBE #8F3FBE
triadic
#503FBE #BE503F #3FBE50
tetradic
#503FBE #BE3F6E #ADBE3F #3FBE8F
square
#503FBE #BE3F6E #ADBE3F #3FBE8F
split-complementary
#503FBE #BE8F3F #6EBE3F
monochromatic
#292162 #3D3090 #503FBE #796CCE #A39ADD

Accessibility & contrast

On white

7.51
#503FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#503FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FBE
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FBE#FFFFFF#000000##FFFFFF
##503FBE1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#0F6079
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #503fbe;
/* rgb */ color: rgb(80, 63, 190);
/* oklch */ color: oklch(46.6% 0.190 282.2);
Tailwind
colors: {
  custom: {
    50: '#8c75d3',
    500: '#503fbe',
    950: '#000000',
  },
}
SCSS
$custom: #503fbe;
$custom-light: #8c75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#503fbe",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 248.031,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.18967,
    "h": 282.2
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#503FBE
secondary
#C2C98F
accent
#DA4EC7
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #503FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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