#5B73EF#5B73EF

#5B73EF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.187 H 271.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5B73EF
RGBrgb(91, 115, 239)
HSLhsl(230, 82%, 65%)
HSVhsv(230, 62%, 94%)
CMYKcmyk(61.9%, 51.9%, 0%, 6.3%)
CIE-LABlab(52.64, 28.81, -65.29)
CIE-LCHlch(52.64, 71.36, 293.81°)
OKLaboklab(60.26% 0.0047 -0.1873)
OKLCHoklch(60.26% 0.187 271.4)
XYZxyz(26.0199, 20.7154, 84.2719)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73EF #EFD75B
analogous
#5BBDEF #5B73EF #8D5BEF
triadic
#5B73EF #EF5B73 #73EF5B
tetradic
#5B73EF #EF5BBD #EFD75B #5BEF8D
square
#5B73EF #EF5BBD #EFD75B #5BEF8D
split-complementary
#5B73EF #EF8D5B #BDEF5B
monochromatic
#122EBD #2343EA #5B73EF #93A3F4 #CBD2FA

Accessibility & contrast

On white

4.08
#5B73EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5B73EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73EF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73EF#FFFFFF#000000##000000
##5B73EF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F3
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b73ef;
/* rgb */ color: rgb(91, 115, 239);
/* oklch */ color: oklch(60.3% 0.187 271.4);
Tailwind
colors: {
  custom: {
    50: '#979bf5',
    500: '#5b73ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b73ef;
$custom-light: #979bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73ef",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 230.27,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.18732,
    "h": 271.4
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#5B73EF
secondary
#ECE4BA
accent
#BC07DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B73EF

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

Preview Lab → · Contrast checker → · Palette generator →

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