#5B73E6#5B73E6

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

Color values

HEX#5B73E6
RGBrgb(91, 115, 230)
HSLhsl(230, 74%, 63%)
HSVhsv(230, 60%, 90%)
CMYKcmyk(60.4%, 50%, 0%, 9.8%)
CIE-LABlab(52.06, 25.82, -61.18)
CIE-LCHlch(52.06, 66.41, 292.88°)
OKLaboklab(59.64% 0.004 -0.1752)
OKLCHoklch(59.64% 0.175 271.3)
XYZxyz(24.7233, 20.1968, 77.4431)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73E6 #E6CE5B
analogous
#5BB9E6 #5B73E6 #885BE6
triadic
#5B73E6 #E65B73 #73E65B
tetradic
#5B73E6 #E65BB9 #E6CE5B #5BE688
square
#5B73E6 #E65BB9 #E6CE5B #5BE688
split-complementary
#5B73E6 #E6885B #B9E65B
monochromatic
#1A33AC #2646DE #5B73E6 #90A0EE #C5CEF6

Accessibility & contrast

On white

4.17
#5B73E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5B73E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73E6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73E6#FFFFFF#000000##000000
##5B73E61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EA
Deuteranopia (green-blind)
#1176E4
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b73e6;
/* rgb */ color: rgb(91, 115, 230);
/* oklch */ color: oklch(59.6% 0.175 271.3);
Tailwind
colors: {
  custom: {
    50: '#959bef',
    500: '#5b73e6',
    950: '#000000',
  },
}
SCSS
$custom: #5b73e6;
$custom-light: #959bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73e6",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 230
  },
  "hsl": {
    "h": 229.64,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.17522,
    "h": 271.3
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#5B73E6
secondary
#E7DFB5
accent
#B310D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73E6

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

Preview Lab → · Contrast checker → · Palette generator →

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