#5D8CFB#5D8CFB

#5D8CFB is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.1% C 0.173 H 264.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5D8CFB
RGBrgb(93, 140, 251)
HSLhsl(222, 95%, 67%)
HSVhsv(222, 63%, 98%)
CMYKcmyk(62.9%, 44.2%, 0%, 1.6%)
CIE-LABlab(59.93, 17.99, -60.20)
CIE-LCHlch(59.93, 62.84, 286.64°)
OKLaboklab(66.07% -0.0156 -0.1719)
OKLCHoklch(66.07% 0.173 264.8)
XYZxyz(31.2988, 28.0455, 95.0120)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8CFB #FBCC5D
analogous
#5DDBFB #5D8CFB #7D5DFB
triadic
#5D8CFB #FB5D8C #8CFB5D
tetradic
#5D8CFB #FB5DDB #FBCC5D #5DFB7D
square
#5D8CFB #FB5DDB #FBCC5D #5DFB7D
split-complementary
#5D8CFB #FB7D5D #DBFB5D
monochromatic
#0544D8 #2162FA #5D8CFB #99B6FC #D4E1FE

Accessibility & contrast

On white

3.18
#5D8CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5D8CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8CFB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8CFB#FFFFFF#000000##000000
##5D8CFB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#3D8AF9
Tritanopia (blue-blind)
#00A5B7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5d8cfb;
/* rgb */ color: rgb(93, 140, 251);
/* oklch */ color: oklch(66.1% 0.173 264.8);
Tailwind
colors: {
  custom: {
    50: '#99adfd',
    500: '#5d8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #5d8cfb;
$custom-light: #99adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8cfb",
  "rgb": {
    "r": 93,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 222.152,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.17265,
    "h": 264.8
  },
  "luminance": 0.28048
}

Semantic roles & 50–950 ramp

primary
#5D8CFB
secondary
#F3E4C1
accent
#A100E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5D8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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