#5D7BF6#5D7BF6

#5D7BF6 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.4% C 0.186 H 269.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5D7BF6
RGBrgb(93, 123, 246)
HSLhsl(228, 89%, 66%)
HSVhsv(228, 62%, 96%)
CMYKcmyk(62.2%, 50%, 0%, 3.5%)
CIE-LABlab(55.22, 26.60, -65.01)
CIE-LCHlch(55.22, 70.24, 292.25°)
OKLaboklab(62.39% -0.0002 -0.1863)
OKLCHoklch(62.39% 0.186 269.9)
XYZxyz(28.2261, 23.1444, 90.1508)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BF6 #F6D85D
analogous
#5DC8F6 #5D7BF6 #8C5DF6
triadic
#5D7BF6 #F65D7B #7BF65D
tetradic
#5D7BF6 #F65DC8 #F6D85D #5DF68C
square
#5D7BF6 #F65DC8 #F6D85D #5DF68C
split-complementary
#5D7BF6 #F68C5D #C8F65D
monochromatic
#0B31CD #234CF3 #5D7BF6 #97AAF9 #D1D9FC

Accessibility & contrast

On white

3.73
#5D7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5D7BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BF6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BF6#FFFFFF#000000##000000
##5D7BF61.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BFA
Deuteranopia (green-blind)
#027EF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d7bf6;
/* rgb */ color: rgb(93, 123, 246);
/* oklch */ color: oklch(62.4% 0.186 269.9);
Tailwind
colors: {
  custom: {
    50: '#98a0fa',
    500: '#5d7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7bf6;
$custom-light: #98a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7bf6",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 228.235,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62387,
    "c": 0.18629,
    "h": 269.9
  },
  "luminance": 0.23147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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