#5B73E8#5B73E8

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

Color values

HEX#5B73E8
RGBrgb(91, 115, 232)
HSLhsl(230, 75%, 63%)
HSVhsv(230, 61%, 91%)
CMYKcmyk(60.8%, 50.4%, 0%, 9%)
CIE-LABlab(52.19, 26.48, -62.10)
CIE-LCHlch(52.19, 67.51, 293.09°)
OKLaboklab(59.78% 0.0041 -0.1779)
OKLCHoklch(59.78% 0.178 271.3)
XYZxyz(25.0057, 20.3097, 78.9307)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73E8 #E8D05B
analogous
#5BB9E8 #5B73E8 #895BE8
triadic
#5B73E8 #E85B73 #73E85B
tetradic
#5B73E8 #E85BB9 #E8D05B #5BE889
square
#5B73E8 #E85BB9 #E8D05B #5BE889
split-complementary
#5B73E8 #E8895B #B9E85B
monochromatic
#1932B0 #2545E0 #5B73E8 #91A1F0 #C6CFF7

Accessibility & contrast

On white

4.15
#5B73E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5B73E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73E8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73E8#FFFFFF#000000##000000
##5B73E81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#0777E6
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b73e8;
/* rgb */ color: rgb(91, 115, 232);
/* oklch */ color: oklch(59.8% 0.178 271.3);
Tailwind
colors: {
  custom: {
    50: '#969bf0',
    500: '#5b73e8',
    950: '#000000',
  },
}
SCSS
$custom: #5b73e8;
$custom-light: #969bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73e8",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 229.787,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.17793,
    "h": 271.3
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#5B73E8
secondary
#E9E0B6
accent
#B50ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B73E8

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

Preview Lab → · Contrast checker → · Palette generator →

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