#503FBA#503FBA

#503FBA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.2% C 0.185 H 282.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#503FBA
RGBrgb(80, 63, 186)
HSLhsl(248, 49%, 49%)
HSVhsv(248, 66%, 73%)
CMYKcmyk(57%, 66.1%, 0%, 27.1%)
CIE-LABlab(35.61, 41.28, -62.61)
CIE-LCHlch(35.61, 75.00, 303.40°)
OKLaboklab(46.24% 0.0407 -0.1801)
OKLCHoklch(46.24% 0.185 282.7)
XYZxyz(13.9460, 8.8048, 47.4095)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FBA #A9BA3F
analogous
#3F6CBA #503FBA #8E3FBA
triadic
#503FBA #BA503F #3FBA50
tetradic
#503FBA #BA3F6C #A9BA3F #3FBA8E
square
#503FBA #BA3F6C #A9BA3F #3FBA8E
split-complementary
#503FBA #BA8E3F #6CBA3F
monochromatic
#29205F #3C308C #503FBA #776ACC #A197DC

Accessibility & contrast

On white

7.61
#503FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#503FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FBA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FBA#FFFFFF#000000##FFFFFF
##503FBA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#185E77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #503fba;
/* rgb */ color: rgb(80, 63, 186);
/* oklch */ color: oklch(46.2% 0.185 282.7);
Tailwind
colors: {
  custom: {
    50: '#8c75d0',
    500: '#503fba',
    950: '#000000',
  },
}
SCSS
$custom: #503fba;
$custom-light: #8c75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503fba",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 248.293,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46241,
    "c": 0.18461,
    "h": 282.7
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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