#5B73DE#5B73DE

#5B73DE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.164 H 271.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5B73DE
RGBrgb(91, 115, 222)
HSLhsl(229, 66%, 61%)
HSVhsv(229, 59%, 87%)
CMYKcmyk(59%, 48.2%, 0%, 12.9%)
CIE-LABlab(51.56, 23.16, -57.48)
CIE-LCHlch(51.56, 61.97, 291.95°)
OKLaboklab(59.11% 0.0031 -0.1643)
OKLCHoklch(59.11% 0.164 271.1)
XYZxyz(23.6255, 19.7577, 71.6617)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73DE #DEC65B
analogous
#5BB4DE #5B73DE #855BDE
triadic
#5B73DE #DE5B73 #73DE5B
tetradic
#5B73DE #DE5BB4 #DEC65B #5BDE85
square
#5B73DE #DE5BB4 #DEC65B #5BDE85
split-complementary
#5B73DE #DE855B #B4DE5B
monochromatic
#20379F #2A49D2 #5B73DE #8E9EE8 #C1CAF3

Accessibility & contrast

On white

4.24
#5B73DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5B73DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73DE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73DE#FFFFFF#000000##000000
##5B73DE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E2
Deuteranopia (green-blind)
#2675DC
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b73de;
/* rgb */ color: rgb(91, 115, 222);
/* oklch */ color: oklch(59.1% 0.164 271.1);
Tailwind
colors: {
  custom: {
    50: '#949ae9',
    500: '#5b73de',
    950: '#000000',
  },
}
SCSS
$custom: #5b73de;
$custom-light: #949ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73de",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 229.008,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.16433,
    "h": 271.1
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#5B73DE
secondary
#E3DAB2
accent
#AD17CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73DE

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

Preview Lab → · Contrast checker → · Palette generator →

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