#5D5CF2#5D5CF2

#5D5CF2 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.5% C 0.219 H 277.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5D5CF2
RGBrgb(93, 92, 242)
HSLhsl(240, 85%, 65%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.6%, 62%, 0%, 5.1%)
CIE-LABlab(47.48, 43.98, -75.33)
CIE-LCHlch(47.48, 87.23, 300.28°)
OKLaboklab(56.53% 0.027 -0.2169)
OKLCHoklch(56.53% 0.219 277.1)
XYZxyz(24.3632, 16.3903, 85.8670)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CF2 #F1F25C
analogous
#5CA6F2 #5D5CF2 #A85CF2
triadic
#5D5CF2 #F25D5C #5CF25D
tetradic
#5D5CF2 #F25CA6 #F1F25C #5CF2A8
square
#5D5CF2 #F25CA6 #F1F25C #5CF2A8
split-complementary
#5D5CF2 #F2A85C #A6F25C
monochromatic
#1110C4 #2523ED #5D5CF2 #9595F7 #CECDFB

Accessibility & contrast

On white

4.91
#5D5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5D5CF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CF2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CF2#FFFFFF#000000##FFFFFF
##5D5CF21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5cf2;
/* rgb */ color: rgb(93, 92, 242);
/* oklch */ color: oklch(56.5% 0.219 277.1);
Tailwind
colors: {
  custom: {
    50: '#9a8af7',
    500: '#5d5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cf2;
$custom-light: #9a8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cf2",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 240.4,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.21861,
    "h": 277.1
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#5D5CF2
secondary
#EEEEBC
accent
#E204E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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