#5A8CD6#5A8CD6

#5A8CD6 is a light, vivid blue. Relative luminance 0.258; OKLCH L 63.8% C 0.124 H 258.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5A8CD6
RGBrgb(90, 140, 214)
HSLhsl(216, 60%, 60%)
HSVhsv(216, 58%, 84%)
CMYKcmyk(57.9%, 34.6%, 0%, 16.1%)
CIE-LABlab(57.83, 5.21, -43.01)
CIE-LCHlch(57.83, 43.32, 276.90°)
OKLaboklab(63.78% -0.0258 -0.1216)
OKLCHoklch(63.78% 0.124 258)
XYZxyz(25.7279, 25.7827, 67.2260)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CD6 #D6A45A
analogous
#5ACAD6 #5A8CD6 #665AD6
triadic
#5A8CD6 #D65A8C #8CD65A
tetradic
#5A8CD6 #D65ACA #D6A45A #5AD666
square
#5A8CD6 #D65ACA #D6A45A #5AD666
split-complementary
#5A8CD6 #D6665A #CAD65A
monochromatic
#245091 #306BC2 #5A8CD6 #8BAEE2 #BCD0EE

Accessibility & contrast

On white

3.41
#5A8CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5A8CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CD6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CD6#FFFFFF#000000##000000
##5A8CD61.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D91D9
Deuteranopia (green-blind)
#5D86D4
Tritanopia (blue-blind)
#009DA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a8cd6;
/* rgb */ color: rgb(90, 140, 214);
/* oklch */ color: oklch(63.8% 0.124 258.0);
Tailwind
colors: {
  custom: {
    50: '#92ade3',
    500: '#5a8cd6',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cd6;
$custom-light: #92ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cd6",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 215.806,
    "s": 60.194,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63775,
    "c": 0.12433,
    "h": 258
  },
  "luminance": 0.25785
}

Semantic roles & 50–950 ramp

primary
#5A8CD6
secondary
#DECBAE
accent
#A344E3
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5A8CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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