#5A8CD8#5A8CD8

#5A8CD8 is a light, vivid blue. Relative luminance 0.259; OKLCH L 63.9% C 0.127 H 258.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5A8CD8
RGBrgb(90, 140, 216)
HSLhsl(216, 62%, 60%)
HSVhsv(216, 58%, 85%)
CMYKcmyk(58.3%, 35.2%, 0%, 15.3%)
CIE-LABlab(57.93, 5.86, -43.98)
CIE-LCHlch(57.93, 44.36, 277.59°)
OKLaboklab(63.88% -0.0253 -0.1244)
OKLCHoklch(63.88% 0.127 258.5)
XYZxyz(25.9849, 25.8855, 68.5795)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CD8 #D8A65A
analogous
#5ACBD8 #5A8CD8 #675AD8
triadic
#5A8CD8 #D85A8C #8CD85A
tetradic
#5A8CD8 #D85ACB #D8A65A #5AD867
square
#5A8CD8 #D85ACB #D8A65A #5AD867
split-complementary
#5A8CD8 #D8675A #CBD85A
monochromatic
#235095 #2F6BC6 #5A8CD8 #8BAFE4 #BDD1EF

Accessibility & contrast

On white

3.40
#5A8CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5A8CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CD8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CD8#FFFFFF#000000##000000
##5A8CD81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DB
Deuteranopia (green-blind)
#5C86D6
Tritanopia (blue-blind)
#009DA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a8cd8;
/* rgb */ color: rgb(90, 140, 216);
/* oklch */ color: oklch(63.9% 0.127 258.5);
Tailwind
colors: {
  custom: {
    50: '#92ade4',
    500: '#5a8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cd8;
$custom-light: #92ade4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cd8",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 216.19,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.63883,
    "c": 0.12699,
    "h": 258.5
  },
  "luminance": 0.25888
}

Semantic roles & 50–950 ramp

primary
#5A8CD8
secondary
#DFCCAF
accent
#A543E5
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1015
muted
#7E7F84

Preview Lab

Preview with #5A8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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