#5A8ECA#5A8ECA

#5A8ECA is a light, moderate cyan. Relative luminance 0.258; OKLCH L 63.6% C 0.107 H 253.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5A8ECA
RGBrgb(90, 142, 202)
HSLhsl(212, 51%, 57%)
HSVhsv(212, 55%, 79%)
CMYKcmyk(55.4%, 29.7%, 0%, 20.8%)
CIE-LABlab(57.83, 0.18, -36.26)
CIE-LCHlch(57.83, 36.26, 270.28°)
OKLaboklab(63.59% -0.0313 -0.102)
OKLCHoklch(63.59% 0.107 253)
XYZxyz(24.5464, 25.7819, 59.5485)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8ECA #CA965A
analogous
#5AC6CA #5A8ECA #5E5ACA
triadic
#5A8ECA #CA5A8E #8ECA5A
tetradic
#5A8ECA #CA5AC6 #CA965A #5ACA5E
square
#5A8ECA #CA5AC6 #CA965A #5ACA5E
split-complementary
#5A8ECA #CA5E5A #C6CA5A
monochromatic
#295280 #386FAF #5A8ECA #88AED9 #B7CDE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8ECA#FFFFFF#000000##000000
##5A8ECA1.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)
#7591CD
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#079CA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a8eca;
/* rgb */ color: rgb(90, 142, 202);
/* oklch */ color: oklch(63.6% 0.107 253.0);
Tailwind
colors: {
  custom: {
    50: '#90aeda',
    500: '#5a8eca',
    950: '#000000',
  },
}
SCSS
$custom: #5a8eca;
$custom-light: #90aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8eca",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 212.143,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6359,
    "c": 0.1067,
    "h": 253
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#5A8ECA
secondary
#D7C2A9
accent
#994DDB
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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