#5B5DDE#5B5DDE

#5B5DDE is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.192 H 277.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5B5DDE
RGBrgb(91, 93, 222)
HSLhsl(239, 66%, 61%)
HSVhsv(239, 59%, 87%)
CMYKcmyk(59%, 58.1%, 0%, 12.9%)
CIE-LABlab(46.08, 36.65, -66.34)
CIE-LCHlch(46.08, 75.79, 298.92°)
OKLaboklab(54.99% 0.0246 -0.1906)
OKLCHoklch(54.99% 0.192 277.3)
XYZxyz(21.4093, 15.3252, 70.9229)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5DDE #DEDC5B
analogous
#5B9FDE #5B5DDE #9B5BDE
triadic
#5B5DDE #DE5B5D #5DDE5B
tetradic
#5B5DDE #DE5B9F #DEDC5B #5BDE9B
square
#5B5DDE #DE5B9F #DEDC5B #5BDE9B
split-complementary
#5B5DDE #DE9B5B #9FDE5B
monochromatic
#20229F #2A2DD2 #5B5DDE #8E8FE8 #C1C2F3

Accessibility & contrast

On white

5.17
#5B5DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B5DDE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5DDE#FFFFFF#000000##FFFFFF
##5B5DDE1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b5dde;
/* rgb */ color: rgb(91, 93, 222);
/* oklch */ color: oklch(55.0% 0.192 277.3);
Tailwind
colors: {
  custom: {
    50: '#958be9',
    500: '#5b5dde',
    950: '#000000',
  },
}
SCSS
$custom: #5b5dde;
$custom-light: #958be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5dde",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 222
  },
  "hsl": {
    "h": 239.084,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.19216,
    "h": 277.3
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#5B5DDE
secondary
#E3E2B2
accent
#CC17CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B5DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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