#5B73CF#5B73CF

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

Color values

HEX#5B73CF
RGBrgb(91, 115, 207)
HSLhsl(228, 55%, 58%)
HSVhsv(228, 56%, 81%)
CMYKcmyk(56%, 44.4%, 0%, 18.8%)
CIE-LABlab(50.67, 18.22, -50.40)
CIE-LCHlch(50.67, 53.60, 289.88°)
OKLaboklab(58.14% 0.0011 -0.1435)
OKLCHoklch(58.14% 0.144 270.4)
XYZxyz(21.7039, 18.9890, 61.5409)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73CF #CFB75B
analogous
#5BADCF #5B73CF #7D5BCF
triadic
#5B73CF #CF5B73 #73CF5B
tetradic
#5B73CF #CF5BAD #CFB75B #5BCF7D
square
#5B73CF #CF5BAD #CFB75B #5BCF7D
split-complementary
#5B73CF #CF7D5B #ADCF5B
monochromatic
#283C88 #3650B7 #5B73CF #8A9BDD #BAC4EB

Accessibility & contrast

On white

4.38
#5B73CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5B73CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73CF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73CF#FFFFFF#000000##000000
##5B73CF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#138797
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b73cf;
/* rgb */ color: rgb(91, 115, 207);
/* oklch */ color: oklch(58.1% 0.143 270.4);
Tailwind
colors: {
  custom: {
    50: '#929ade',
    500: '#5b73cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b73cf;
$custom-light: #929ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73cf",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 227.586,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.1435,
    "h": 270.4
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#5B73CF
secondary
#DAD0AC
accent
#BF4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B73CF

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

Preview Lab → · Contrast checker → · Palette generator →

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