#5D7DF6#5D7DF6

#5D7DF6 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.8% C 0.184 H 269.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5D7DF6
RGBrgb(93, 125, 246)
HSLhsl(227, 89%, 66%)
HSVhsv(227, 62%, 96%)
CMYKcmyk(62.2%, 49.2%, 0%, 3.5%)
CIE-LABlab(55.73, 25.38, -64.19)
CIE-LCHlch(55.73, 69.02, 291.58°)
OKLaboklab(62.77% -0.002 -0.1839)
OKLCHoklch(62.77% 0.184 269.4)
XYZxyz(28.4767, 23.6457, 90.2343)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DF6 #F6D65D
analogous
#5DCAF6 #5D7DF6 #8A5DF6
triadic
#5D7DF6 #F65D7D #7DF65D
tetradic
#5D7DF6 #F65DCA #F6D65D #5DF68A
square
#5D7DF6 #F65DCA #F6D65D #5DF68A
split-complementary
#5D7DF6 #F68A5D #CAF65D
monochromatic
#0B34CD #234EF3 #5D7DF6 #97ACF9 #D1DAFC

Accessibility & contrast

On white

3.67
#5D7DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5D7DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DF6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DF6#FFFFFF#000000##000000
##5D7DF61.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFA
Deuteranopia (green-blind)
#137FF3
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d7df6;
/* rgb */ color: rgb(93, 125, 246);
/* oklch */ color: oklch(62.8% 0.184 269.4);
Tailwind
colors: {
  custom: {
    50: '#98a2fa',
    500: '#5d7df6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7df6;
$custom-light: #98a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7df6",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 227.451,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.18386,
    "h": 269.4
  },
  "luminance": 0.23648
}

Semantic roles & 50–950 ramp

primary
#5D7DF6
secondary
#F0E6BF
accent
#B600E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5D7DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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