#5D8CF7#5D8CF7

#5D8CF7 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.8% C 0.167 H 264.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5D8CF7
RGBrgb(93, 140, 247)
HSLhsl(222, 91%, 67%)
HSVhsv(222, 62%, 97%)
CMYKcmyk(62.3%, 43.3%, 0%, 3.1%)
CIE-LABlab(59.70, 16.66, -58.37)
CIE-LCHlch(59.70, 60.70, 285.93°)
OKLaboklab(65.83% -0.0162 -0.1665)
OKLCHoklch(65.83% 0.167 264.4)
XYZxyz(30.6750, 27.7959, 91.7263)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8CF7 #F7C85D
analogous
#5DD9F7 #5D8CF7 #7B5DF7
triadic
#5D8CF7 #F75D8C #8CF75D
tetradic
#5D8CF7 #F75DD9 #F7C85D #5DF77B
square
#5D8CF7 #F75DD9 #F7C85D #5DF77B
split-complementary
#5D8CF7 #F77B5D #D9F75D
monochromatic
#0A46CF #2363F4 #5D8CF7 #97B5FA #D2DFFD

Accessibility & contrast

On white

3.20
#5D8CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5D8CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8CF7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8CF7#FFFFFF#000000##000000
##5D8CF71.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#4289F5
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5d8cf7;
/* rgb */ color: rgb(93, 140, 247);
/* oklch */ color: oklch(65.8% 0.167 264.4);
Tailwind
colors: {
  custom: {
    50: '#98adfa',
    500: '#5d8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #5d8cf7;
$custom-light: #98adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8cf7",
  "rgb": {
    "r": 93,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 221.688,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65827,
    "c": 0.16733,
    "h": 264.4
  },
  "luminance": 0.27799
}

Semantic roles & 50–950 ramp

primary
#5D8CF7
secondary
#F1E2BF
accent
#9F00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5D8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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