#5D6DF6#5D6DF6

#5D6DF6 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.8% C 0.203 H 273.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5D6DF6
RGBrgb(93, 109, 246)
HSLhsl(234, 89%, 66%)
HSVhsv(234, 62%, 96%)
CMYKcmyk(62.2%, 55.7%, 0%, 3.5%)
CIE-LABlab(51.74, 35.11, -70.63)
CIE-LCHlch(51.74, 78.88, 296.43°)
OKLaboklab(59.77% 0.0125 -0.203)
OKLCHoklch(59.77% 0.203 273.5)
XYZxyz(26.6119, 19.9160, 89.6127)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6DF6 #F6E65D
analogous
#5DBAF6 #5D6DF6 #995DF6
triadic
#5D6DF6 #F65D6D #6DF65D
tetradic
#5D6DF6 #F65DBA #F6E65D #5DF699
square
#5D6DF6 #F65DBA #F6E65D #5DF699
split-complementary
#5D6DF6 #F6995D #BAF65D
monochromatic
#0B20CD #2339F3 #5D6DF6 #97A1F9 #D1D6FC

Accessibility & contrast

On white

4.21
#5D6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5D6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6DF6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6DF6#FFFFFF#000000##000000
##5D6DF61.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#008EA7
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d6df6;
/* rgb */ color: rgb(93, 109, 246);
/* oklch */ color: oklch(59.8% 0.203 273.5);
Tailwind
colors: {
  custom: {
    50: '#9996fa',
    500: '#5d6df6',
    950: '#000000',
  },
}
SCSS
$custom: #5d6df6;
$custom-light: #9996fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6df6",
  "rgb": {
    "r": 93,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 233.725,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.20339,
    "h": 273.5
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#5D6DF6
secondary
#F0EBBF
accent
#CD00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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