#5D8AFE#5D8AFE

#5D8AFE is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.9% C 0.179 H 265.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5D8AFE
RGBrgb(93, 138, 254)
HSLhsl(223, 99%, 68%)
HSVhsv(223, 63%, 100%)
CMYKcmyk(63.4%, 45.7%, 0%, 0.4%)
CIE-LABlab(59.58, 20.20, -62.42)
CIE-LCHlch(59.58, 65.60, 287.93°)
OKLaboklab(65.86% -0.0132 -0.1785)
OKLCHoklch(65.86% 0.179 265.8)
XYZxyz(31.4859, 27.6570, 97.4258)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8AFE #FED15D
analogous
#5DDAFE #5D8AFE #805DFE
triadic
#5D8AFE #FE5D8A #8AFE5D
tetradic
#5D8AFE #FE5DDA #FED15D #5DFE80
square
#5D8AFE #FE5DDA #FED15D #5DFE80
split-complementary
#5D8AFE #FE805D #DAFE5D
monochromatic
#013FDF #205EFE #5D8AFE #9AB6FE #D7E2FF

Accessibility & contrast

On white

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

On black

6.53
#5D8AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8AFE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8AFE#FFFFFF#000000##000000
##5D8AFE1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#3389FC
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5d8afe;
/* rgb */ color: rgb(93, 138, 254);
/* oklch */ color: oklch(65.9% 0.179 265.8);
Tailwind
colors: {
  custom: {
    50: '#99abff',
    500: '#5d8afe',
    950: '#000000',
  },
}
SCSS
$custom: #5d8afe;
$custom-light: #99abff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8afe",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 223.23,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6586,
    "c": 0.17897,
    "h": 265.8
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#5D8AFE
secondary
#F4E6C3
accent
#A500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5D8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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