#5B73F0#5B73F0

#5B73F0 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.189 H 271.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5B73F0
RGBrgb(91, 115, 240)
HSLhsl(230, 83%, 65%)
HSVhsv(230, 62%, 94%)
CMYKcmyk(62.1%, 52.1%, 0%, 5.9%)
CIE-LABlab(52.70, 29.14, -65.74)
CIE-LCHlch(52.70, 71.91, 293.91°)
OKLaboklab(60.33% 0.0048 -0.1886)
OKLCHoklch(60.33% 0.189 271.5)
XYZxyz(26.1680, 20.7746, 85.0521)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73F0 #F0D85B
analogous
#5BBDF0 #5B73F0 #8E5BF0
triadic
#5B73F0 #F05B73 #73F05B
tetradic
#5B73F0 #F05BBD #F0D85B #5BF08E
square
#5B73F0 #F05BBD #F0D85B #5BF08E
split-complementary
#5B73F0 #F08E5B #BDF05B
monochromatic
#112DBF #2343EB #5B73F0 #93A3F5 #CBD3FA

Accessibility & contrast

On white

4.07
#5B73F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5B73F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73F0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73F0#FFFFFF#000000##000000
##5B73F01.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F4
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b73f0;
/* rgb */ color: rgb(91, 115, 240);
/* oklch */ color: oklch(60.3% 0.189 271.5);
Tailwind
colors: {
  custom: {
    50: '#979bf6',
    500: '#5b73f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b73f0;
$custom-light: #979bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73f0",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 240
  },
  "hsl": {
    "h": 230.336,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.18865,
    "h": 271.5
  },
  "luminance": 0.20777
}

Semantic roles & 50–950 ramp

primary
#5B73F0
secondary
#EDE5BA
accent
#BD06E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B73F0

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

Preview Lab → · Contrast checker → · Palette generator →

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