#5A8DFD#5A8DFD

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

Color values

HEX#5A8DFD
RGBrgb(90, 141, 253)
HSLhsl(221, 98%, 67%)
HSVhsv(221, 64%, 99%)
CMYKcmyk(64.4%, 44.3%, 0%, 0.8%)
CIE-LABlab(60.17, 17.57, -60.93)
CIE-LCHlch(60.17, 63.41, 286.08°)
OKLaboklab(66.26% -0.0187 -0.1741)
OKLCHoklch(66.26% 0.175 263.9)
XYZxyz(31.4647, 28.3123, 96.7161)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DFD #FDCA5A
analogous
#5ADFFD #5A8DFD #795AFD
triadic
#5A8DFD #FD5A8D #8DFD5A
tetradic
#5A8DFD #FD5ADF #FDCA5A #5AFD79
square
#5A8DFD #FD5ADF #FDCA5A #5AFD79
split-complementary
#5A8DFD #FD795A #DFFD5A
monochromatic
#0346DA #1E63FC #5A8DFD #96B7FE #D3E1FE

Accessibility & contrast

On white

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

On black

6.66
#5A8DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DFD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DFD#FFFFFF#000000##000000
##5A8DFD1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a8dfd;
/* rgb */ color: rgb(90, 141, 253);
/* oklch */ color: oklch(66.3% 0.175 263.9);
Tailwind
colors: {
  custom: {
    50: '#98adff',
    500: '#5a8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #5a8dfd;
$custom-light: #98adff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8dfd",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 221.227,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66257,
    "c": 0.17512,
    "h": 263.9
  },
  "luminance": 0.28315
}

Semantic roles & 50–950 ramp

primary
#5A8DFD
secondary
#F3E3C0
accent
#9E00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5A8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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