#5B73D9#5B73D9

#5B73D9 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.157 H 270.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5B73D9
RGBrgb(91, 115, 217)
HSLhsl(229, 62%, 60%)
HSVhsv(229, 58%, 85%)
CMYKcmyk(58.1%, 47%, 0%, 14.9%)
CIE-LABlab(51.26, 21.51, -55.14)
CIE-LCHlch(51.26, 59.19, 291.31°)
OKLaboklab(58.78% 0.0025 -0.1574)
OKLCHoklch(58.78% 0.157 270.9)
XYZxyz(22.9653, 19.4936, 68.1846)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73D9 #D9C15B
analogous
#5BB2D9 #5B73D9 #825BD9
triadic
#5B73D9 #D95B73 #73D95B
tetradic
#5B73D9 #D95BB2 #D9C15B #5BD982
square
#5B73D9 #D95BB2 #D9C15B #5BD982
split-complementary
#5B73D9 #D9825B #B2D95B
monochromatic
#233997 #2E4CC8 #5B73D9 #8D9DE5 #BEC8F0

Accessibility & contrast

On white

4.29
#5B73D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5B73D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73D9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73D9#FFFFFF#000000##000000
##5B73D91.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DD
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b73d9;
/* rgb */ color: rgb(91, 115, 217);
/* oklch */ color: oklch(58.8% 0.157 270.9);
Tailwind
colors: {
  custom: {
    50: '#939ae5',
    500: '#5b73d9',
    950: '#000000',
  },
}
SCSS
$custom: #5b73d9;
$custom-light: #939ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73d9",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 217
  },
  "hsl": {
    "h": 228.571,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.15744,
    "h": 270.9
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#5B73D9
secondary
#E0D7B0
accent
#A91BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73D9

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

Preview Lab → · Contrast checker → · Palette generator →

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