#5D8CF6#5D8CF6

#5D8CF6 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.8% C 0.166 H 264.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5D8CF6
RGBrgb(93, 140, 246)
HSLhsl(222, 89%, 66%)
HSVhsv(222, 62%, 96%)
CMYKcmyk(62.2%, 43.1%, 0%, 3.5%)
CIE-LABlab(59.65, 16.32, -57.90)
CIE-LCHlch(59.65, 60.16, 285.74°)
OKLaboklab(65.77% -0.0164 -0.1652)
OKLCHoklch(65.77% 0.166 264.3)
XYZxyz(30.5211, 27.7344, 90.9158)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8CF6 #F6C75D
analogous
#5DD8F6 #5D8CF6 #7B5DF6
triadic
#5D8CF6 #F65D8C #8CF65D
tetradic
#5D8CF6 #F65DD8 #F6C75D #5DF67B
square
#5D8CF6 #F65DD8 #F6C75D #5DF67B
split-complementary
#5D8CF6 #F67B5D #D8F65D
monochromatic
#0B47CD #2363F3 #5D8CF6 #97B5F9 #D1DEFC

Accessibility & contrast

On white

3.21
#5D8CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#5D8CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8CF6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8CF6#FFFFFF#000000##000000
##5D8CF61.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#4389F4
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5d8cf6;
/* rgb */ color: rgb(93, 140, 246);
/* oklch */ color: oklch(65.8% 0.166 264.3);
Tailwind
colors: {
  custom: {
    50: '#98adfa',
    500: '#5d8cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5d8cf6;
$custom-light: #98adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8cf6",
  "rgb": {
    "r": 93,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 221.569,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65766,
    "c": 0.166,
    "h": 264.3
  },
  "luminance": 0.27737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D8CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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