#5D5EF1#5D5EF1

#5D5EF1 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.215 H 276.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D5EF1
RGBrgb(93, 94, 241)
HSLhsl(240, 84%, 65%)
HSVhsv(240, 61%, 95%)
CMYKcmyk(61.4%, 61%, 0%, 5.5%)
CIE-LABlab(47.86, 42.49, -74.16)
CIE-LCHlch(47.86, 85.46, 299.81°)
OKLaboklab(56.78% 0.0254 -0.2135)
OKLCHoklch(56.78% 0.215 276.8)
XYZxyz(24.3889, 16.6815, 85.1367)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EF1 #F1F05D
analogous
#5DA8F1 #5D5EF1 #A65DF1
triadic
#5D5EF1 #F15D5E #5EF15D
tetradic
#5D5EF1 #F15DA8 #F1F05D #5DF1A6
square
#5D5EF1 #F15DA8 #F1F05D #5DF1A6
split-complementary
#5D5EF1 #F1A65D #A8F15D
monochromatic
#1112C3 #2526EC #5D5EF1 #9596F6 #CECEFB

Accessibility & contrast

On white

4.84
#5D5EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5D5EF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EF1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EF1#FFFFFF#000000##FFFFFF
##5D5EF11.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5ef1;
/* rgb */ color: rgb(93, 94, 241);
/* oklch */ color: oklch(56.8% 0.215 276.8);
Tailwind
colors: {
  custom: {
    50: '#998cf7',
    500: '#5d5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ef1;
$custom-light: #998cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ef1",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 239.595,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56781,
    "c": 0.215,
    "h": 276.8
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#5D5EF1
secondary
#EEEDBC
accent
#DF05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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