#5A8CD2#5A8CD2

#5A8CD2 is a light, moderate blue. Relative luminance 0.256; OKLCH L 63.6% C 0.119 H 257.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5A8CD2
RGBrgb(90, 140, 210)
HSLhsl(215, 57%, 59%)
HSVhsv(215, 57%, 82%)
CMYKcmyk(57.1%, 33.3%, 0%, 17.6%)
CIE-LABlab(57.64, 3.91, -41.07)
CIE-LCHlch(57.64, 41.25, 275.44°)
OKLaboklab(63.56% -0.0268 -0.116)
OKLCHoklch(63.56% 0.119 257)
XYZxyz(25.2233, 25.5809, 64.5687)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CD2 #D2A05A
analogous
#5AC8D2 #5A8CD2 #645AD2
triadic
#5A8CD2 #D25A8C #8CD25A
tetradic
#5A8CD2 #D25AC8 #D2A05A #5AD264
square
#5A8CD2 #D25AC8 #D2A05A #5AD264
split-complementary
#5A8CD2 #D2645A #C8D25A
monochromatic
#26508C #336CBC #5A8CD2 #8AAEDF #BACFEC

Accessibility & contrast

On white

3.43
#5A8CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5A8CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CD2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CD2#FFFFFF#000000##000000
##5A8CD21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F91D5
Deuteranopia (green-blind)
#6085D1
Tritanopia (blue-blind)
#009CA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a8cd2;
/* rgb */ color: rgb(90, 140, 210);
/* oklch */ color: oklch(63.6% 0.119 257.0);
Tailwind
colors: {
  custom: {
    50: '#91ade0',
    500: '#5a8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cd2;
$custom-light: #91ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cd2",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 215,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63561,
    "c": 0.11904,
    "h": 257
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#5A8CD2
secondary
#DCC8AC
accent
#A147E0
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5A8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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