#5B73E7#5B73E7

#5B73E7 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.177 H 271.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5B73E7
RGBrgb(91, 115, 231)
HSLhsl(230, 74%, 63%)
HSVhsv(230, 61%, 91%)
CMYKcmyk(60.6%, 50.2%, 0%, 9.4%)
CIE-LABlab(52.12, 26.15, -61.64)
CIE-LCHlch(52.12, 66.96, 292.99°)
OKLaboklab(59.71% 0.0041 -0.1765)
OKLCHoklch(59.71% 0.177 271.3)
XYZxyz(24.8641, 20.2531, 78.1848)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73E7 #E7CF5B
analogous
#5BB9E7 #5B73E7 #895BE7
triadic
#5B73E7 #E75B73 #73E75B
tetradic
#5B73E7 #E75BB9 #E7CF5B #5BE789
square
#5B73E7 #E75BB9 #E7CF5B #5BE789
split-complementary
#5B73E7 #E7895B #B9E75B
monochromatic
#1933AE #2645DF #5B73E7 #90A1EF #C6CEF7

Accessibility & contrast

On white

4.16
#5B73E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5B73E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73E7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73E7#FFFFFF#000000##000000
##5B73E71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#0C76E5
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b73e7;
/* rgb */ color: rgb(91, 115, 231);
/* oklch */ color: oklch(59.7% 0.177 271.3);
Tailwind
colors: {
  custom: {
    50: '#959bef',
    500: '#5b73e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b73e7;
$custom-light: #959bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73e7",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 229.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.17658,
    "h": 271.3
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#5B73E7
secondary
#E8DFB6
accent
#B40FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73E7

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

Preview Lab → · Contrast checker → · Palette generator →

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