#5D8EF6#5D8EF6

#5D8EF6 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.2% C 0.164 H 263.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5D8EF6
RGBrgb(93, 142, 246)
HSLhsl(221, 89%, 66%)
HSVhsv(221, 62%, 96%)
CMYKcmyk(62.2%, 42.3%, 0%, 3.5%)
CIE-LABlab(60.18, 15.13, -57.05)
CIE-LCHlch(60.18, 59.03, 284.85°)
OKLaboklab(66.18% -0.0184 -0.1627)
OKLCHoklch(66.18% 0.164 263.6)
XYZxyz(30.8160, 28.3242, 91.0141)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8EF6 #F6C55D
analogous
#5DDBF6 #5D8EF6 #795DF6
triadic
#5D8EF6 #F65D8E #8EF65D
tetradic
#5D8EF6 #F65DDB #F6C55D #5DF679
square
#5D8EF6 #F65DDB #F6C55D #5DF679
split-complementary
#5D8EF6 #F6795D #DBF65D
monochromatic
#0B49CD #2366F3 #5D8EF6 #97B6F9 #D1DFFC

Accessibility & contrast

On white

3.15
#5D8EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5D8EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8EF6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8EF6#FFFFFF#000000##000000
##5D8EF61.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5d8ef6;
/* rgb */ color: rgb(93, 142, 246);
/* oklch */ color: oklch(66.2% 0.164 263.6);
Tailwind
colors: {
  custom: {
    50: '#98aefa',
    500: '#5d8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #5d8ef6;
$custom-light: #98aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8ef6",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 220.784,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.1637,
    "h": 263.6
  },
  "luminance": 0.28327
}

Semantic roles & 50–950 ramp

primary
#5D8EF6
secondary
#F0E0BF
accent
#9C00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5D8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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