#5A8EFD#5A8EFD

#5A8EFD is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.5% C 0.174 H 263.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5A8EFD
RGBrgb(90, 142, 253)
HSLhsl(221, 98%, 67%)
HSVhsv(221, 64%, 99%)
CMYKcmyk(64.4%, 43.9%, 0%, 0.8%)
CIE-LABlab(60.43, 16.97, -60.50)
CIE-LCHlch(60.43, 62.84, 285.67°)
OKLaboklab(66.46% -0.0197 -0.1728)
OKLCHoklch(66.46% 0.174 263.5)
XYZxyz(31.6129, 28.6085, 96.7655)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EFD #FDC95A
analogous
#5ADFFD #5A8EFD #785AFD
triadic
#5A8EFD #FD5A8E #8EFD5A
tetradic
#5A8EFD #FD5ADF #FDC95A #5AFD78
square
#5A8EFD #FD5ADF #FDC95A #5AFD78
split-complementary
#5A8EFD #FD785A #DFFD5A
monochromatic
#0347DA #1E65FC #5A8EFD #96B7FE #D3E1FE

Accessibility & contrast

On white

3.12
#5A8EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#5A8EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EFD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EFD#FFFFFF#000000##000000
##5A8EFD1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a8efd;
/* rgb */ color: rgb(90, 142, 253);
/* oklch */ color: oklch(66.5% 0.174 263.5);
Tailwind
colors: {
  custom: {
    50: '#98aeff',
    500: '#5a8efd',
    950: '#000000',
  },
}
SCSS
$custom: #5a8efd;
$custom-light: #98aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8efd",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 220.859,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66461,
    "c": 0.17397,
    "h": 263.5
  },
  "luminance": 0.28612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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