#5B73DC#5B73DC

#5B73DC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.162 H 271.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5B73DC
RGBrgb(91, 115, 220)
HSLhsl(229, 65%, 61%)
HSVhsv(229, 59%, 86%)
CMYKcmyk(58.6%, 47.7%, 0%, 13.7%)
CIE-LABlab(51.44, 22.50, -56.55)
CIE-LCHlch(51.44, 60.86, 291.70°)
OKLaboklab(58.97% 0.0029 -0.1615)
OKLCHoklch(58.97% 0.162 271)
XYZxyz(23.3591, 19.6511, 70.2584)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73DC #DCC45B
analogous
#5BB3DC #5B73DC #835BDC
triadic
#5B73DC #DC5B73 #73DC5B
tetradic
#5B73DC #DC5BB3 #DCC45B #5BDC83
square
#5B73DC #DC5BB3 #DCC45B #5BDC83
split-complementary
#5B73DC #DC835B #B3DC5B
monochromatic
#21389B #2C4ACE #5B73DC #8D9EE7 #C0C9F2

Accessibility & contrast

On white

4.26
#5B73DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5B73DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73DC#FFFFFF#000000##000000
##5B73DC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E0
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b73dc;
/* rgb */ color: rgb(91, 115, 220);
/* oklch */ color: oklch(59.0% 0.162 271.0);
Tailwind
colors: {
  custom: {
    50: '#949ae7',
    500: '#5b73dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b73dc;
$custom-light: #949ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73dc",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 228.837,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.16158,
    "h": 271
  },
  "luminance": 0.19653
}

Semantic roles & 50–950 ramp

primary
#5B73DC
secondary
#E2D9B1
accent
#AB19CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73DC

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

Preview Lab → · Contrast checker → · Palette generator →

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