#5B73CE#5B73CE

#5B73CE is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.1% C 0.142 H 270.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5B73CE
RGBrgb(91, 115, 206)
HSLhsl(227, 54%, 58%)
HSVhsv(227, 56%, 81%)
CMYKcmyk(55.8%, 44.2%, 0%, 19.2%)
CIE-LABlab(50.62, 17.90, -49.93)
CIE-LCHlch(50.62, 53.04, 289.72°)
OKLaboklab(58.08% 0.0009 -0.1421)
OKLCHoklch(58.08% 0.142 270.4)
XYZxyz(21.5820, 18.9402, 60.8991)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73CE #CEB65B
analogous
#5BADCE #5B73CE #7C5BCE
triadic
#5B73CE #CE5B73 #73CE5B
tetradic
#5B73CE #CE5BAD #CEB65B #5BCE7C
square
#5B73CE #CE5BAD #CEB65B #5BCE7C
split-complementary
#5B73CE #CE7C5B #ADCE5B
monochromatic
#283C86 #3651B6 #5B73CE #8A9BDC #B9C3EA

Accessibility & contrast

On white

4.39
#5B73CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5B73CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73CE#FFFFFF#000000##000000
##5B73CE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#168796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b73ce;
/* rgb */ color: rgb(91, 115, 206);
/* oklch */ color: oklch(58.1% 0.142 270.4);
Tailwind
colors: {
  custom: {
    50: '#929add',
    500: '#5b73ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b73ce;
$custom-light: #929add;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73ce",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 227.478,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.14209,
    "h": 270.4
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#5B73CE
secondary
#D9D0AB
accent
#BF4ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B73CE

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

Preview Lab → · Contrast checker → · Palette generator →

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