#5B73ED#5B73ED

#5B73ED is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.185 H 271.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5B73ED
RGBrgb(91, 115, 237)
HSLhsl(230, 80%, 64%)
HSVhsv(230, 62%, 93%)
CMYKcmyk(61.6%, 51.5%, 0%, 7.1%)
CIE-LABlab(52.51, 28.14, -64.38)
CIE-LCHlch(52.51, 70.26, 293.61°)
OKLaboklab(60.12% 0.0046 -0.1846)
OKLCHoklch(60.12% 0.185 271.4)
XYZxyz(25.7261, 20.5979, 82.7244)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73ED #EDD55B
analogous
#5BBCED #5B73ED #8C5BED
triadic
#5B73ED #ED5B73 #73ED5B
tetradic
#5B73ED #ED5BBC #EDD55B #5BED8C
square
#5B73ED #ED5BBC #EDD55B #5BED8C
split-complementary
#5B73ED #ED8C5B #BCED5B
monochromatic
#142FB9 #2444E7 #5B73ED #92A2F3 #C9D1F9

Accessibility & contrast

On white

4.10
#5B73ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5B73ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73ED
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73ED#FFFFFF#000000##000000
##5B73ED1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A84F1
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b73ed;
/* rgb */ color: rgb(91, 115, 237);
/* oklch */ color: oklch(60.1% 0.185 271.4);
Tailwind
colors: {
  custom: {
    50: '#969bf4',
    500: '#5b73ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b73ed;
$custom-light: #969bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73ed",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 230.137,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60123,
    "c": 0.18465,
    "h": 271.4
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#5B73ED
secondary
#EBE3B9
accent
#BA09DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B73ED

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

Preview Lab → · Contrast checker → · Palette generator →

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