#5D5EFC#5D5EFC

#5D5EFC is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.7% C 0.229 H 276.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5D5EFC
RGBrgb(93, 94, 252)
HSLhsl(240, 96%, 68%)
HSVhsv(240, 63%, 99%)
CMYKcmyk(63.1%, 62.7%, 0%, 1.2%)
CIE-LABlab(48.71, 46.00, -78.91)
CIE-LCHlch(48.71, 91.33, 300.24°)
OKLaboklab(57.67% 0.0248 -0.2274)
OKLCHoklch(57.67% 0.229 276.2)
XYZxyz(26.0819, 17.3587, 94.0527)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EFC #FCFB5D
analogous
#5DADFC #5D5EFC #AC5DFC
triadic
#5D5EFC #FC5D5E #5EFC5D
tetradic
#5D5EFC #FC5DAD #FCFB5D #5DFCAC
square
#5D5EFC #FC5DAD #FCFB5D #5DFCAC
split-complementary
#5D5EFC #FCAC5D #ADFC5D
monochromatic
#0405DB #2122FB #5D5EFC #999AFD #D5D5FE

Accessibility & contrast

On white

4.70
#5D5EFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5D5EFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EFC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EFC#FFFFFF#000000##FFFFFF
##5D5EFC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006DF9
Tritanopia (blue-blind)
#0086A4
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d5efc;
/* rgb */ color: rgb(93, 94, 252);
/* oklch */ color: oklch(57.7% 0.229 276.2);
Tailwind
colors: {
  custom: {
    50: '#9b8cfe',
    500: '#5d5efc',
    950: '#000000',
  },
}
SCSS
$custom: #5d5efc;
$custom-light: #9b8cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5efc",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 239.623,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.22877,
    "h": 276.2
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#5D5EFC
secondary
#F3F3C2
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5D5EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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