#5B73E9#5B73E9

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

Color values

HEX#5B73E9
RGBrgb(91, 115, 233)
HSLhsl(230, 76%, 64%)
HSVhsv(230, 61%, 91%)
CMYKcmyk(60.9%, 50.6%, 0%, 8.6%)
CIE-LABlab(52.25, 26.81, -62.56)
CIE-LCHlch(52.25, 68.06, 293.20°)
OKLaboklab(59.85% 0.0042 -0.1792)
OKLCHoklch(59.85% 0.179 271.4)
XYZxyz(25.1482, 20.3667, 79.6809)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73E9 #E9D15B
analogous
#5BBAE9 #5B73E9 #8A5BE9
triadic
#5B73E9 #E95B73 #73E95B
tetradic
#5B73E9 #E95BBA #E9D15B #5BE98A
square
#5B73E9 #E95BBA #E9D15B #5BE98A
split-complementary
#5B73E9 #E98A5B #BAE95B
monochromatic
#1832B2 #2545E2 #5B73E9 #91A1F0 #C7CFF7

Accessibility & contrast

On white

4.14
#5B73E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5B73E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73E9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73E9#FFFFFF#000000##000000
##5B73E91.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083ED
Deuteranopia (green-blind)
#0177E7
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b73e9;
/* rgb */ color: rgb(91, 115, 233);
/* oklch */ color: oklch(59.8% 0.179 271.4);
Tailwind
colors: {
  custom: {
    50: '#969bf1',
    500: '#5b73e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b73e9;
$custom-light: #969bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73e9",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 233
  },
  "hsl": {
    "h": 229.859,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59846,
    "c": 0.17928,
    "h": 271.4
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#5B73E9
secondary
#E9E1B7
accent
#B60DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B73E9

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

Preview Lab → · Contrast checker → · Palette generator →

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