#5A8CD4#5A8CD4

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

Color values

HEX#5A8CD4
RGBrgb(90, 140, 212)
HSLhsl(215, 59%, 59%)
HSVhsv(215, 58%, 83%)
CMYKcmyk(57.5%, 34%, 0%, 16.9%)
CIE-LABlab(57.73, 4.56, -42.04)
CIE-LCHlch(57.73, 42.29, 276.19°)
OKLaboklab(63.67% -0.0263 -0.1188)
OKLCHoklch(63.67% 0.122 257.5)
XYZxyz(25.4740, 25.6811, 65.8891)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CD4 #D4A25A
analogous
#5AC9D4 #5A8CD4 #655AD4
triadic
#5A8CD4 #D45A8C #8CD45A
tetradic
#5A8CD4 #D45AC9 #D4A25A #5AD465
square
#5A8CD4 #D45AC9 #D4A25A #5AD465
split-complementary
#5A8CD4 #D4655A #C9D45A
monochromatic
#25508E #326CBF #5A8CD4 #8BAEE1 #BBD0ED

Accessibility & contrast

On white

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

On black

6.14
#5A8CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CD4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CD4#FFFFFF#000000##000000
##5A8CD41.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E91D7
Deuteranopia (green-blind)
#5E85D3
Tritanopia (blue-blind)
#009CA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a8cd4;
/* rgb */ color: rgb(90, 140, 212);
/* oklch */ color: oklch(63.7% 0.122 257.5);
Tailwind
colors: {
  custom: {
    50: '#92ade1',
    500: '#5a8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cd4;
$custom-light: #92ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cd4",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 215.41,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63668,
    "c": 0.12168,
    "h": 257.5
  },
  "luminance": 0.25683
}

Semantic roles & 50–950 ramp

primary
#5A8CD4
secondary
#DDC9AD
accent
#A246E2
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5A8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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