#5B73CB#5B73CB

#5B73CB is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.138 H 270.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5B73CB
RGBrgb(91, 115, 203)
HSLhsl(227, 52%, 58%)
HSVhsv(227, 55%, 80%)
CMYKcmyk(55.2%, 43.3%, 0%, 20.4%)
CIE-LABlab(50.45, 16.92, -48.49)
CIE-LCHlch(50.45, 51.35, 289.23°)
OKLaboklab(57.9% 0.0004 -0.1379)
OKLCHoklch(57.9% 0.138 270.2)
XYZxyz(21.2211, 18.7959, 58.9980)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73CB #CBB35B
analogous
#5BABCB #5B73CB #7B5BCB
triadic
#5B73CB #CB5B73 #73CB5B
tetradic
#5B73CB #CB5BAB #CBB35B #5BCB7B
square
#5B73CB #CB5BAB #CBB35B #5BCB7B
split-complementary
#5B73CB #CB7B5B #ABCB5B
monochromatic
#293C82 #3852B1 #5B73CB #899BDA #B8C2E8

Accessibility & contrast

On white

4.41
#5B73CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5B73CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73CB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73CB#FFFFFF#000000##000000
##5B73CB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#1C8695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b73cb;
/* rgb */ color: rgb(91, 115, 203);
/* oklch */ color: oklch(57.9% 0.138 270.2);
Tailwind
colors: {
  custom: {
    50: '#919bdb',
    500: '#5b73cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b73cb;
$custom-light: #919bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73cb",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 227.143,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.13787,
    "h": 270.2
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

primary
#5B73CB
secondary
#D7CEAA
accent
#BD4CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B73CB

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

Preview Lab → · Contrast checker → · Palette generator →

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