#5D5BE3#5D5BE3

#5D5BE3 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.201 H 278.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5D5BE3
RGBrgb(93, 91, 227)
HSLhsl(241, 71%, 62%)
HSVhsv(241, 60%, 89%)
CMYKcmyk(59%, 59.9%, 0%, 11%)
CIE-LABlab(46.12, 39.80, -69.11)
CIE-LCHlch(46.12, 79.75, 299.94°)
OKLaboklab(55.17% 0.0286 -0.1987)
OKLCHoklch(55.17% 0.201 278.2)
XYZxyz(22.1160, 15.3538, 74.4563)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BE3 #E1E35B
analogous
#5B9DE3 #5D5BE3 #A15BE3
triadic
#5D5BE3 #E35D5B #5BE35D
tetradic
#5D5BE3 #E35B9D #E1E35B #5BE3A1
square
#5D5BE3 #E35B9D #E1E35B #5BE3A1
split-complementary
#5D5BE3 #E3A15B #9DE35B
monochromatic
#1F1DA7 #2927DA #5D5BE3 #918FEC #C4C4F5

Accessibility & contrast

On white

5.16
#5D5BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5D5BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BE3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BE3#FFFFFF#000000##FFFFFF
##5D5BE31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d5be3;
/* rgb */ color: rgb(93, 91, 227);
/* oklch */ color: oklch(55.2% 0.201 278.2);
Tailwind
colors: {
  custom: {
    50: '#978aed',
    500: '#5d5be3',
    950: '#000000',
  },
}
SCSS
$custom: #5d5be3;
$custom-light: #978aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5be3",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 240.882,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.20072,
    "h": 278.2
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#5D5BE3
secondary
#E5E6B4
accent
#D313D0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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