#5A84A2#5A84A2

#5A84A2 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.4% C 0.065 H 240.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A84A2
RGBrgb(90, 132, 162)
HSLhsl(205, 29%, 49%)
HSVhsv(205, 44%, 64%)
CMYKcmyk(44.4%, 18.5%, 0%, 36.5%)
CIE-LABlab(53.26, -6.24, -20.51)
CIE-LCHlch(53.26, 21.44, 253.08°)
OKLaboklab(59.44% -0.0324 -0.0568)
OKLCHoklch(59.44% 0.065 240.3)
XYZxyz(18.9871, 21.2836, 37.2830)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84A2 #A2785A
analogous
#5AA29C #5A84A2 #5A60A2
triadic
#5A84A2 #A25A84 #84A25A
tetradic
#5A84A2 #9C5AA2 #A2785A #60A25A
square
#5A84A2 #9C5AA2 #A2785A #60A25A
split-complementary
#5A84A2 #A25A60 #A29C5A
monochromatic
#2E4453 #44647B #5A84A2 #80A1B9 #A8BECF

Accessibility & contrast

On white

3.99
#5A84A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5A84A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84A2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84A2#FFFFFF#000000##000000
##5A84A21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A3
Deuteranopia (green-blind)
#6D7CA1
Tritanopia (blue-blind)
#3D8B8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a84a2;
/* rgb */ color: rgb(90, 132, 162);
/* oklch */ color: oklch(59.4% 0.065 240.3);
Tailwind
colors: {
  custom: {
    50: '#8ca7bd',
    500: '#5a84a2',
    950: '#000000',
  },
}
SCSS
$custom: #5a84a2;
$custom-light: #8ca7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84a2",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 162
  },
  "hsl": {
    "h": 205,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59437,
    "c": 0.06541,
    "h": 240.3
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#5A84A2
secondary
#BDA99B
accent
#8C63C5
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5A84A2

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

Preview Lab → · Contrast checker → · Palette generator →

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