#5A8CD5#5A8CD5

#5A8CD5 is a light, vivid blue. Relative luminance 0.257; OKLCH L 63.7% C 0.123 H 257.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5A8CD5
RGBrgb(90, 140, 213)
HSLhsl(216, 59%, 59%)
HSVhsv(216, 58%, 84%)
CMYKcmyk(57.7%, 34.3%, 0%, 16.5%)
CIE-LABlab(57.78, 4.88, -42.53)
CIE-LCHlch(57.78, 42.80, 276.55°)
OKLaboklab(63.72% -0.026 -0.1202)
OKLCHoklch(63.72% 0.123 257.8)
XYZxyz(25.6006, 25.7318, 66.5555)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CD5 #D5A35A
analogous
#5AC9D5 #5A8CD5 #665AD5
triadic
#5A8CD5 #D55A8C #8CD55A
tetradic
#5A8CD5 #D55AC9 #D5A35A #5AD566
square
#5A8CD5 #D55AC9 #D5A35A #5AD566
split-complementary
#5A8CD5 #D5665A #C9D55A
monochromatic
#255090 #316BC1 #5A8CD5 #8BAEE1 #BCD0EE

Accessibility & contrast

On white

3.42
#5A8CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5A8CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CD5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CD5#FFFFFF#000000##000000
##5A8CD51.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E91D8
Deuteranopia (green-blind)
#5E86D3
Tritanopia (blue-blind)
#009CA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a8cd5;
/* rgb */ color: rgb(90, 140, 213);
/* oklch */ color: oklch(63.7% 0.123 257.8);
Tailwind
colors: {
  custom: {
    50: '#92ade2',
    500: '#5a8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cd5;
$custom-light: #92ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cd5",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 215.61,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63721,
    "c": 0.12301,
    "h": 257.8
  },
  "luminance": 0.25734
}

Semantic roles & 50–950 ramp

primary
#5A8CD5
secondary
#DDCAAD
accent
#A345E3
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5A8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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