#5B73DD#5B73DD

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

Color values

HEX#5B73DD
RGBrgb(91, 115, 221)
HSLhsl(229, 66%, 61%)
HSVhsv(229, 59%, 87%)
CMYKcmyk(58.8%, 48%, 0%, 13.3%)
CIE-LABlab(51.50, 22.83, -57.02)
CIE-LCHlch(51.50, 61.42, 291.82°)
OKLaboklab(59.04% 0.003 -0.1629)
OKLCHoklch(59.04% 0.163 271.1)
XYZxyz(23.4919, 19.7042, 70.9579)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73DD #DDC55B
analogous
#5BB4DD #5B73DD #845BDD
triadic
#5B73DD #DD5B73 #73DD5B
tetradic
#5B73DD #DD5BB4 #DDC55B #5BDD84
square
#5B73DD #DD5BB4 #DDC55B #5BDD84
split-complementary
#5B73DD #DD845B #B4DD5B
monochromatic
#21389D #2B49D0 #5B73DD #8E9EE8 #C0CAF2

Accessibility & contrast

On white

4.25
#5B73DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5B73DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73DD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73DD#FFFFFF#000000##000000
##5B73DD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#2875DB
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b73dd;
/* rgb */ color: rgb(91, 115, 221);
/* oklch */ color: oklch(59.0% 0.163 271.1);
Tailwind
colors: {
  custom: {
    50: '#949ae8',
    500: '#5b73dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b73dd;
$custom-light: #949ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73dd",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 228.923,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5904,
    "c": 0.16296,
    "h": 271.1
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#5B73DD
secondary
#E2D9B1
accent
#AC18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73DD

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

Preview Lab → · Contrast checker → · Palette generator →

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