#5A87CA#5A87CA

#5A87CA is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.0% C 0.113 H 258.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5A87CA
RGBrgb(90, 135, 202)
HSLhsl(216, 51%, 57%)
HSVhsv(216, 55%, 79%)
CMYKcmyk(55.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.85, 4.28, -39.37)
CIE-LCHlch(55.85, 39.60, 276.21°)
OKLaboklab(62.04% -0.0233 -0.1111)
OKLCHoklch(62.04% 0.113 258.1)
XYZxyz(23.5374, 23.7640, 59.2122)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A87CA #CA9D5A
analogous
#5ABFCA #5A87CA #655ACA
triadic
#5A87CA #CA5A87 #87CA5A
tetradic
#5A87CA #CA5ABF #CA9D5A #5ACA65
square
#5A87CA #CA5ABF #CA9D5A #5ACA65
split-complementary
#5A87CA #CA655A #BFCA5A
monochromatic
#294C80 #3868AF #5A87CA #88A9D9 #B7CAE8

Accessibility & contrast

On white

3.65
#5A87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5A87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A87CA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A87CA#FFFFFF#000000##000000
##5A87CA1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#0D969F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a87ca;
/* rgb */ color: rgb(90, 135, 202);
/* oklch */ color: oklch(62.0% 0.113 258.1);
Tailwind
colors: {
  custom: {
    50: '#90a9da',
    500: '#5a87ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a87ca;
$custom-light: #90a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a87ca",
  "rgb": {
    "r": 90,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 215.893,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.11348,
    "h": 258.1
  },
  "luminance": 0.23766
}

Semantic roles & 50–950 ramp

primary
#5A87CA
secondary
#D7C4A9
accent
#A24DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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