#503BBA#503BBA

#503BBA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.189 H 283.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#503BBA
RGBrgb(80, 59, 186)
HSLhsl(250, 52%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(57%, 68.3%, 0%, 27.1%)
CIE-LABlab(34.76, 43.58, -64.00)
CIE-LCHlch(34.76, 77.43, 304.25°)
OKLaboklab(45.63% 0.0442 -0.1841)
OKLCHoklch(45.63% 0.189 283.5)
XYZxyz(13.7324, 8.3777, 47.3383)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BBA #A5BA3B
analogous
#3B65BA #503BBA #8F3BBA
triadic
#503BBA #BA503B #3BBA50
tetradic
#503BBA #BA3B65 #A5BA3B #3BBA8F
square
#503BBA #BA3B65 #A5BA3B #3BBA8F
split-complementary
#503BBA #BA8F3B #65BA3B
monochromatic
#281E5D #3C2C8C #503BBA #7664CE #9F93DD

Accessibility & contrast

On white

7.85
#503BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#503BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BBA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BBA#FFFFFF#000000##FFFFFF
##503BBA1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#195C76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503bba;
/* rgb */ color: rgb(80, 59, 186);
/* oklch */ color: oklch(45.6% 0.189 283.5);
Tailwind
colors: {
  custom: {
    50: '#8c73d0',
    500: '#503bba',
    950: '#000000',
  },
}
SCSS
$custom: #503bba;
$custom-light: #8c73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503bba",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 249.921,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4563,
    "c": 0.18937,
    "h": 283.5
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#503BBA
secondary
#BDC889
accent
#DB4DC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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