#5B73E5#5B73E5

#5B73E5 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.174 H 271.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B73E5
RGBrgb(91, 115, 229)
HSLhsl(230, 73%, 63%)
HSVhsv(230, 60%, 90%)
CMYKcmyk(60.3%, 49.8%, 0%, 10.2%)
CIE-LABlab(52.00, 25.48, -60.72)
CIE-LCHlch(52.00, 65.85, 292.77°)
OKLaboklab(59.57% 0.0039 -0.1738)
OKLCHoklch(59.57% 0.174 271.3)
XYZxyz(24.5833, 20.1407, 76.7056)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73E5 #E5CD5B
analogous
#5BB8E5 #5B73E5 #885BE5
triadic
#5B73E5 #E55B73 #73E55B
tetradic
#5B73E5 #E55BB8 #E5CD5B #5BE588
square
#5B73E5 #E55BB8 #E5CD5B #5BE588
split-complementary
#5B73E5 #E5885B #B8E55B
monochromatic
#1B34AB #2646DD #5B73E5 #90A0ED #C5CDF6

Accessibility & contrast

On white

4.18
#5B73E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5B73E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73E5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73E5#FFFFFF#000000##000000
##5B73E51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E9
Deuteranopia (green-blind)
#1576E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b73e5;
/* rgb */ color: rgb(91, 115, 229);
/* oklch */ color: oklch(59.6% 0.174 271.3);
Tailwind
colors: {
  custom: {
    50: '#959aee',
    500: '#5b73e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b73e5;
$custom-light: #959aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73e5",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 229
  },
  "hsl": {
    "h": 229.565,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59574,
    "c": 0.17387,
    "h": 271.3
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#5B73E5
secondary
#E7DEB5
accent
#B311D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5B73E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva