#5A85A2#5A85A2

#5A85A2 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.7% C 0.065 H 238.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5A85A2
RGBrgb(90, 133, 162)
HSLhsl(204, 29%, 49%)
HSVhsv(204, 44%, 64%)
CMYKcmyk(44.4%, 17.9%, 0%, 36.5%)
CIE-LABlab(53.55, -6.81, -20.06)
CIE-LCHlch(53.55, 21.18, 251.24°)
OKLaboklab(59.67% -0.0337 -0.0555)
OKLCHoklch(59.67% 0.065 238.8)
XYZxyz(19.1233, 21.5561, 37.3285)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85A2 #A2775A
analogous
#5AA29B #5A85A2 #5A61A2
triadic
#5A85A2 #A25A85 #85A25A
tetradic
#5A85A2 #9B5AA2 #A2775A #61A25A
square
#5A85A2 #9B5AA2 #A2775A #61A25A
split-complementary
#5A85A2 #A25A61 #A29B5A
monochromatic
#2E4453 #44657B #5A85A2 #80A2B9 #A8BFCF

Accessibility & contrast

On white

3.95
#5A85A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5A85A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85A2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85A2#FFFFFF#000000##000000
##5A85A21.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A3
Deuteranopia (green-blind)
#6E7DA2
Tritanopia (blue-blind)
#3C8C8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a85a2;
/* rgb */ color: rgb(90, 133, 162);
/* oklch */ color: oklch(59.7% 0.065 238.8);
Tailwind
colors: {
  custom: {
    50: '#8ca8bd',
    500: '#5a85a2',
    950: '#000000',
  },
}
SCSS
$custom: #5a85a2;
$custom-light: #8ca8bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85a2",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 162
  },
  "hsl": {
    "h": 204.167,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.06495,
    "h": 238.8
  },
  "luminance": 0.21557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A85A2

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

Preview Lab → · Contrast checker → · Palette generator →

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