#5D7CF6#5D7CF6

#5D7CF6 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.6% C 0.185 H 269.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5D7CF6
RGBrgb(93, 124, 246)
HSLhsl(228, 89%, 66%)
HSVhsv(228, 62%, 96%)
CMYKcmyk(62.2%, 49.6%, 0%, 3.5%)
CIE-LABlab(55.48, 25.99, -64.60)
CIE-LCHlch(55.48, 69.63, 291.92°)
OKLaboklab(62.58% -0.0011 -0.1851)
OKLCHoklch(62.58% 0.185 269.7)
XYZxyz(28.3508, 23.3938, 90.1923)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CF6 #F6D75D
analogous
#5DC9F6 #5D7CF6 #8B5DF6
triadic
#5D7CF6 #F65D7C #7CF65D
tetradic
#5D7CF6 #F65DC9 #F6D75D #5DF68B
square
#5D7CF6 #F65DC9 #F6D75D #5DF68B
split-complementary
#5D7CF6 #F68B5D #C9F65D
monochromatic
#0B33CD #234DF3 #5D7CF6 #97ABF9 #D1DAFC

Accessibility & contrast

On white

3.70
#5D7CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5D7CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CF6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CF6#FFFFFF#000000##000000
##5D7CF61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#0C7EF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7cf6;
/* rgb */ color: rgb(93, 124, 246);
/* oklch */ color: oklch(62.6% 0.185 269.7);
Tailwind
colors: {
  custom: {
    50: '#98a1fa',
    500: '#5d7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cf6;
$custom-light: #98a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cf6",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 227.843,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.18507,
    "h": 269.7
  },
  "luminance": 0.23396
}

Semantic roles & 50–950 ramp

primary
#5D7CF6
secondary
#F0E6BF
accent
#B700E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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