#5D7AF6#5D7AF6

#5D7AF6 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.2% C 0.188 H 270.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5D7AF6
RGBrgb(93, 122, 246)
HSLhsl(229, 89%, 66%)
HSVhsv(229, 62%, 96%)
CMYKcmyk(62.2%, 50.4%, 0%, 3.5%)
CIE-LABlab(54.97, 27.21, -65.42)
CIE-LCHlch(54.97, 70.85, 292.58°)
OKLaboklab(62.2% 0.0008 -0.1875)
OKLCHoklch(62.2% 0.188 270.2)
XYZxyz(28.1027, 22.8976, 90.1096)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AF6 #F6D95D
analogous
#5DC7F6 #5D7AF6 #8D5DF6
triadic
#5D7AF6 #F65D7A #7AF65D
tetradic
#5D7AF6 #F65DC7 #F6D95D #5DF68D
square
#5D7AF6 #F65DC7 #F6D95D #5DF68D
split-complementary
#5D7AF6 #F68D5D #C7F65D
monochromatic
#0B30CD #234AF3 #5D7AF6 #97AAF9 #D1D9FC

Accessibility & contrast

On white

3.76
#5D7AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5D7AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7AF6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7AF6#FFFFFF#000000##000000
##5D7AF61.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#338BFA
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d7af6;
/* rgb */ color: rgb(93, 122, 246);
/* oklch */ color: oklch(62.2% 0.188 270.2);
Tailwind
colors: {
  custom: {
    50: '#99a0fa',
    500: '#5d7af6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7af6;
$custom-light: #99a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7af6",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 228.627,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62195,
    "c": 0.18751,
    "h": 270.2
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#5D7AF6
secondary
#F0E7BF
accent
#BA00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D7AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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