#5B73DF#5B73DF

#5B73DF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.166 H 271.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5B73DF
RGBrgb(91, 115, 223)
HSLhsl(229, 67%, 62%)
HSVhsv(229, 59%, 87%)
CMYKcmyk(59.2%, 48.4%, 0%, 12.5%)
CIE-LABlab(51.62, 23.49, -57.95)
CIE-LCHlch(51.62, 62.53, 292.07°)
OKLaboklab(59.17% 0.0032 -0.1657)
OKLCHoklch(59.17% 0.166 271.1)
XYZxyz(23.7600, 19.8114, 72.3696)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73DF #DFC75B
analogous
#5BB5DF #5B73DF #855BDF
triadic
#5B73DF #DF5B73 #73DF5B
tetradic
#5B73DF #DF5BB5 #DFC75B #5BDF85
square
#5B73DF #DF5BB5 #DFC75B #5BDF85
split-complementary
#5B73DF #DF855B #B5DF5B
monochromatic
#1F37A0 #2948D4 #5B73DF #8E9FE9 #C1CAF3

Accessibility & contrast

On white

4.23
#5B73DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5B73DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73DF#FFFFFF#000000##000000
##5B73DF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E3
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b73df;
/* rgb */ color: rgb(91, 115, 223);
/* oklch */ color: oklch(59.2% 0.166 271.1);
Tailwind
colors: {
  custom: {
    50: '#949aea',
    500: '#5b73df',
    950: '#000000',
  },
}
SCSS
$custom: #5b73df;
$custom-light: #949aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73df",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 229.091,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.1657,
    "h": 271.1
  },
  "luminance": 0.19813
}

Semantic roles & 50–950 ramp

primary
#5B73DF
secondary
#E3DBB2
accent
#AE16CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73DF

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

Preview Lab → · Contrast checker → · Palette generator →

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