#5D5DF2#5D5DF2

#5D5DF2 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.217 H 276.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5D5DF2
RGBrgb(93, 93, 242)
HSLhsl(240, 85%, 66%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.6%, 61.6%, 0%, 5.1%)
CIE-LABlab(47.71, 43.40, -74.96)
CIE-LCHlch(47.71, 86.62, 300.07°)
OKLaboklab(56.69% 0.0262 -0.2158)
OKLCHoklch(56.69% 0.217 276.9)
XYZxyz(24.4504, 16.5647, 85.8960)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DF2 #F2F25D
analogous
#5DA7F2 #5D5DF2 #A75DF2
triadic
#5D5DF2 #F25D5D #5DF25D
tetradic
#5D5DF2 #F25DA7 #F2F25D #5DF2A7
square
#5D5DF2 #F25DA7 #F2F25D #5DF2A7
split-complementary
#5D5DF2 #F2A75D #A7F25D
monochromatic
#1010C5 #2424ED #5D5DF2 #9696F7 #CECEFB

Accessibility & contrast

On white

4.87
#5D5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5D5DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DF2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DF2#FFFFFF#000000##FFFFFF
##5D5DF21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5df2;
/* rgb */ color: rgb(93, 93, 242);
/* oklch */ color: oklch(56.7% 0.217 276.9);
Tailwind
colors: {
  custom: {
    50: '#9a8bf7',
    500: '#5d5df2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5df2;
$custom-light: #9a8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5df2",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.21743,
    "h": 276.9
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#5D5DF2
secondary
#EEEEBD
accent
#E204E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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