#5D5EF2#5D5EF2

#5D5EF2 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.216 H 276.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5D5EF2
RGBrgb(93, 94, 242)
HSLhsl(240, 85%, 66%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.6%, 61.2%, 0%, 5.1%)
CIE-LABlab(47.93, 42.81, -74.59)
CIE-LCHlch(47.93, 86.00, 299.85°)
OKLaboklab(56.86% 0.0254 -0.2148)
OKLCHoklch(56.86% 0.216 276.7)
XYZxyz(24.5387, 16.7414, 85.9255)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EF2 #F2F15D
analogous
#5DA9F2 #5D5EF2 #A65DF2
triadic
#5D5EF2 #F25D5E #5EF25D
tetradic
#5D5EF2 #F25DA9 #F2F15D #5DF2A6
square
#5D5EF2 #F25DA9 #F2F15D #5DF2A6
split-complementary
#5D5EF2 #F2A65D #A9F25D
monochromatic
#1011C5 #2426ED #5D5EF2 #9696F7 #CECFFB

Accessibility & contrast

On white

4.83
#5D5EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5D5EF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EF2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EF2#FFFFFF#000000##FFFFFF
##5D5EF21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5ef2;
/* rgb */ color: rgb(93, 94, 242);
/* oklch */ color: oklch(56.9% 0.216 276.7);
Tailwind
colors: {
  custom: {
    50: '#998cf7',
    500: '#5d5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ef2;
$custom-light: #998cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ef2",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 239.597,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.21626,
    "h": 276.7
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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