#5D8DFB#5D8DFB

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

Color values

HEX#5D8DFB
RGBrgb(93, 141, 251)
HSLhsl(222, 95%, 67%)
HSVhsv(222, 63%, 98%)
CMYKcmyk(62.9%, 43.8%, 0%, 1.6%)
CIE-LABlab(60.19, 17.39, -59.78)
CIE-LCHlch(60.19, 62.26, 286.22°)
OKLaboklab(66.28% -0.0165 -0.1707)
OKLCHoklch(66.28% 0.171 264.5)
XYZxyz(31.4456, 28.3391, 95.0609)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8DFB #FBCB5D
analogous
#5DDCFB #5D8DFB #7C5DFB
triadic
#5D8DFB #FB5D8D #8DFB5D
tetradic
#5D8DFB #FB5DDC #FBCB5D #5DFB7C
square
#5D8DFB #FB5DDC #FBCB5D #5DFB7C
split-complementary
#5D8DFB #FB7C5D #DCFB5D
monochromatic
#0545D8 #2163FA #5D8DFB #99B7FC #D4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8DFB#FFFFFF#000000##000000
##5D8DFB1.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)
#5999FF
Deuteranopia (green-blind)
#3F8AF9
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5d8dfb;
/* rgb */ color: rgb(93, 141, 251);
/* oklch */ color: oklch(66.3% 0.171 264.5);
Tailwind
colors: {
  custom: {
    50: '#99adfd',
    500: '#5d8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #5d8dfb;
$custom-light: #99adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8dfb",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 221.772,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66276,
    "c": 0.17149,
    "h": 264.5
  },
  "luminance": 0.28342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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