#5D8CF9#5D8CF9

#5D8CF9 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.0% C 0.170 H 264.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5D8CF9
RGBrgb(93, 140, 249)
HSLhsl(222, 93%, 67%)
HSVhsv(222, 63%, 98%)
CMYKcmyk(62.7%, 43.8%, 0%, 2.4%)
CIE-LABlab(59.82, 17.32, -59.29)
CIE-LCHlch(59.82, 61.77, 286.29°)
OKLaboklab(65.95% -0.0159 -0.1693)
OKLCHoklch(65.95% 0.17 264.6)
XYZxyz(30.9852, 27.9201, 93.3604)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8CF9 #F9CA5D
analogous
#5DDAF9 #5D8CF9 #7C5DF9
triadic
#5D8CF9 #F95D8C #8CF95D
tetradic
#5D8CF9 #F95DDA #F9CA5D #5DF97C
square
#5D8CF9 #F95DDA #F9CA5D #5DF97C
split-complementary
#5D8CF9 #F97C5D #DAF95D
monochromatic
#0845D4 #2262F7 #5D8CF9 #98B6FB #D3E0FD

Accessibility & contrast

On white

3.19
#5D8CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#5D8CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8CF9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8CF9#FFFFFF#000000##000000
##5D8CF91.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#3F89F7
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5d8cf9;
/* rgb */ color: rgb(93, 140, 249);
/* oklch */ color: oklch(66.0% 0.170 264.6);
Tailwind
colors: {
  custom: {
    50: '#98adfc',
    500: '#5d8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #5d8cf9;
$custom-light: #98adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8cf9",
  "rgb": {
    "r": 93,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 221.923,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6595,
    "c": 0.17,
    "h": 264.6
  },
  "luminance": 0.27923
}

Semantic roles & 50–950 ramp

primary
#5D8CF9
secondary
#F2E3C0
accent
#A000E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5D8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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