#5D5DE2#5D5DE2

#5D5DE2 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.4% C 0.197 H 277.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D5DE2
RGBrgb(93, 93, 226)
HSLhsl(240, 70%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(58.8%, 58.8%, 0%, 11.4%)
CIE-LABlab(46.51, 38.28, -67.91)
CIE-LCHlch(46.51, 77.95, 299.41°)
OKLaboklab(55.44% 0.0268 -0.1951)
OKLCHoklch(55.44% 0.197 277.8)
XYZxyz(22.1516, 15.6452, 73.7893)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DE2 #E2E25D
analogous
#5D9FE2 #5D5DE2 #9F5DE2
triadic
#5D5DE2 #E25D5D #5DE25D
tetradic
#5D5DE2 #E25D9F #E2E25D #5DE29F
square
#5D5DE2 #E25D9F #E2E25D #5DE29F
split-complementary
#5D5DE2 #E29F5D #9FE25D
monochromatic
#1E1EA7 #2929D9 #5D5DE2 #9191EB #C5C5F5

Accessibility & contrast

On white

5.09
#5D5DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5D5DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DE2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DE2#FFFFFF#000000##FFFFFF
##5D5DE21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5de2;
/* rgb */ color: rgb(93, 93, 226);
/* oklch */ color: oklch(55.4% 0.197 277.8);
Tailwind
colors: {
  custom: {
    50: '#978bec',
    500: '#5d5de2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5de2;
$custom-light: #978bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5de2",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.19696,
    "h": 277.8
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#5D5DE2
secondary
#E6E6B5
accent
#D214D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D5DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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