#5D8FF5#5D8FF5

#5D8FF5 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.3% C 0.161 H 263.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5D8FF5
RGBrgb(93, 143, 245)
HSLhsl(220, 88%, 66%)
HSVhsv(220, 62%, 96%)
CMYKcmyk(62%, 41.6%, 0%, 3.9%)
CIE-LABlab(60.39, 14.20, -56.16)
CIE-LCHlch(60.39, 57.93, 284.19°)
OKLaboklab(66.32% -0.0195 -0.16)
OKLCHoklch(66.32% 0.161 263)
XYZxyz(30.8123, 28.5619, 90.2577)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8FF5 #F5C35D
analogous
#5DDBF5 #5D8FF5 #775DF5
triadic
#5D8FF5 #F55D8F #8FF55D
tetradic
#5D8FF5 #F55DDB #F5C35D #5DF577
square
#5D8FF5 #F55DDB #F5C35D #5DF577
split-complementary
#5D8FF5 #F5775D #DBF55D
monochromatic
#0D4BCB #2367F1 #5D8FF5 #97B7F9 #D0DFFC

Accessibility & contrast

On white

3.13
#5D8FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5D8FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8FF5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8FF5#FFFFFF#000000##000000
##5D8FF51.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#4A8BF3
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5d8ff5;
/* rgb */ color: rgb(93, 143, 245);
/* oklch */ color: oklch(66.3% 0.161 263.0);
Tailwind
colors: {
  custom: {
    50: '#98aff9',
    500: '#5d8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #5d8ff5;
$custom-light: #98aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8ff5",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 220.263,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66322,
    "c": 0.16123,
    "h": 263
  },
  "luminance": 0.28565
}

Semantic roles & 50–950 ramp

primary
#5D8FF5
secondary
#F0DFBE
accent
#9A01E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5D8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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