#503BBB#503BBB

#503BBB is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.7% C 0.191 H 283.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#503BBB
RGBrgb(80, 59, 187)
HSLhsl(250, 52%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(57.2%, 68.4%, 0%, 26.7%)
CIE-LABlab(34.84, 43.89, -64.45)
CIE-LCHlch(34.84, 77.97, 304.26°)
OKLaboklab(45.72% 0.044 -0.1855)
OKLCHoklch(45.72% 0.191 283.4)
XYZxyz(13.8391, 8.4204, 47.9001)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BBB #A6BB3B
analogous
#3B66BB #503BBB #903BBB
triadic
#503BBB #BB503B #3BBB50
tetradic
#503BBB #BB3B66 #A6BB3B #3BBB90
square
#503BBB #BB3B66 #A6BB3B #3BBB90
split-complementary
#503BBB #BB903B #66BB3B
monochromatic
#281E5E #3C2C8C #503BBB #7665CE #9F93DD

Accessibility & contrast

On white

7.82
#503BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503BBB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BBB#FFFFFF#000000##FFFFFF
##503BBB1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#175C76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503bbb;
/* rgb */ color: rgb(80, 59, 187);
/* oklch */ color: oklch(45.7% 0.191 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c73d0',
    500: '#503bbb',
    950: '#000000',
  },
}
SCSS
$custom: #503bbb;
$custom-light: #8c73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503bbb",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 249.844,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.19061,
    "h": 283.4
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#503BBB
secondary
#BEC88A
accent
#DB4CC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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