#5B73EA#5B73EA

#5B73EA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.181 H 271.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5B73EA
RGBrgb(91, 115, 234)
HSLhsl(230, 77%, 64%)
HSVhsv(230, 61%, 92%)
CMYKcmyk(61.1%, 50.9%, 0%, 8.2%)
CIE-LABlab(52.31, 27.15, -63.02)
CIE-LCHlch(52.31, 68.61, 293.31°)
OKLaboklab(59.92% 0.0043 -0.1806)
OKLCHoklch(59.92% 0.181 271.4)
XYZxyz(25.2914, 20.4240, 80.4354)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73EA #EAD25B
analogous
#5BBAEA #5B73EA #8A5BEA
triadic
#5B73EA #EA5B73 #73EA5B
tetradic
#5B73EA #EA5BBA #EAD25B #5BEA8A
square
#5B73EA #EA5BBA #EAD25B #5BEA8A
split-complementary
#5B73EA #EA8A5B #BAEA5B
monochromatic
#1731B4 #2545E3 #5B73EA #91A1F1 #C8D0F8

Accessibility & contrast

On white

4.13
#5B73EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5B73EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73EA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73EA#FFFFFF#000000##000000
##5B73EA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b73ea;
/* rgb */ color: rgb(91, 115, 234);
/* oklch */ color: oklch(59.9% 0.181 271.4);
Tailwind
colors: {
  custom: {
    50: '#969bf1',
    500: '#5b73ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b73ea;
$custom-light: #969bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73ea",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 229.93,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.18062,
    "h": 271.4
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#5B73EA
secondary
#EAE1B7
accent
#B70CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B73EA

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

Preview Lab → · Contrast checker → · Palette generator →

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