#5D7AF7#5D7AF7

#5D7AF7 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.3% C 0.189 H 270.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5D7AF7
RGBrgb(93, 122, 247)
HSLhsl(229, 91%, 67%)
HSVhsv(229, 62%, 97%)
CMYKcmyk(62.3%, 50.6%, 0%, 3.1%)
CIE-LABlab(55.03, 27.54, -65.87)
CIE-LCHlch(55.03, 71.39, 292.69°)
OKLaboklab(62.26% 0.0008 -0.1888)
OKLCHoklch(62.26% 0.189 270.3)
XYZxyz(28.2566, 22.9592, 90.9201)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AF7 #F7DA5D
analogous
#5DC7F7 #5D7AF7 #8D5DF7
triadic
#5D7AF7 #F75D7A #7AF75D
tetradic
#5D7AF7 #F75DC7 #F7DA5D #5DF78D
square
#5D7AF7 #F75DC7 #F7DA5D #5DF78D
split-complementary
#5D7AF7 #F78D5D #C7F75D
monochromatic
#0A2FCF #234AF4 #5D7AF7 #97AAFA #D2DAFD

Accessibility & contrast

On white

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

On black

5.59
#5D7AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7AF7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7AF7#FFFFFF#000000##000000
##5D7AF71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFB
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#0097AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d7af7;
/* rgb */ color: rgb(93, 122, 247);
/* oklch */ color: oklch(62.3% 0.189 270.3);
Tailwind
colors: {
  custom: {
    50: '#99a0fb',
    500: '#5d7af7',
    950: '#000000',
  },
}
SCSS
$custom: #5d7af7;
$custom-light: #99a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7af7",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 228.701,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.18884,
    "h": 270.3
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#5D7AF7
secondary
#F1E7BF
accent
#BA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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