#5B73FB#5B73FB

#5B73FB is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.1% C 0.203 H 271.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5B73FB
RGBrgb(91, 115, 251)
HSLhsl(231, 95%, 67%)
HSVhsv(231, 64%, 98%)
CMYKcmyk(63.7%, 54.2%, 0%, 1.6%)
CIE-LABlab(53.44, 32.81, -70.67)
CIE-LCHlch(53.44, 77.91, 294.91°)
OKLaboklab(61.12% 0.0054 -0.2031)
OKLCHoklch(61.12% 0.203 271.5)
XYZxyz(27.8519, 21.4482, 93.9202)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73FB #FBE35B
analogous
#5BC3FB #5B73FB #935BFB
triadic
#5B73FB #FB5B73 #73FB5B
tetradic
#5B73FB #FB5BC3 #FBE35B #5BFB93
square
#5B73FB #FB5BC3 #FBE35B #5BFB93
split-complementary
#5B73FB #FB935B #C3FB5B
monochromatic
#0525D6 #1F40FA #5B73FB #97A6FC #D2D9FE

Accessibility & contrast

On white

3.97
#5B73FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5B73FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73FB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73FB#FFFFFF#000000##000000
##5B73FB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0079F8
Tritanopia (blue-blind)
#0093AC
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b73fb;
/* rgb */ color: rgb(91, 115, 251);
/* oklch */ color: oklch(61.1% 0.203 271.5);
Tailwind
colors: {
  custom: {
    50: '#999bfd',
    500: '#5b73fb',
    950: '#000000',
  },
}
SCSS
$custom: #5b73fb;
$custom-light: #999bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73fb",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 231,
    "s": 95.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61118,
    "c": 0.20315,
    "h": 271.5
  },
  "luminance": 0.21451
}

Semantic roles & 50–950 ramp

primary
#5B73FB
secondary
#F2EBC0
accent
#C300E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5B73FB

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

Preview Lab → · Contrast checker → · Palette generator →

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