#5A85B2#5A85B2

#5A85B2 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.4% C 0.084 H 250.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5A85B2
RGBrgb(90, 133, 178)
HSLhsl(211, 36%, 53%)
HSVhsv(211, 49%, 70%)
CMYKcmyk(49.4%, 25.3%, 0%, 30.2%)
CIE-LABlab(54.20, -2.06, -28.28)
CIE-LCHlch(54.20, 28.35, 265.84°)
OKLaboklab(60.39% -0.0281 -0.079)
OKLCHoklch(60.39% 0.084 250.4)
XYZxyz(20.6371, 22.1616, 45.3010)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85B2 #B2875A
analogous
#5AB1B2 #5A85B2 #5B5AB2
triadic
#5A85B2 #B25A85 #85B25A
tetradic
#5A85B2 #B25AB1 #B2875A #5AB25B
square
#5A85B2 #B25AB1 #B2875A #5AB25B
split-complementary
#5A85B2 #B25B5A #B1B25A
monochromatic
#2E4863 #42678D #5A85B2 #84A4C5 #ADC3D9

Accessibility & contrast

On white

3.87
#5A85B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5A85B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85B2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85B2#FFFFFF#000000##000000
##5A85B21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#318F94
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a85b2;
/* rgb */ color: rgb(90, 133, 178);
/* oklch */ color: oklch(60.4% 0.084 250.4);
Tailwind
colors: {
  custom: {
    50: '#8ea8c9',
    500: '#5a85b2',
    950: '#000000',
  },
}
SCSS
$custom: #5a85b2;
$custom-light: #8ea8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85b2",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 178
  },
  "hsl": {
    "h": 210.682,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.08383,
    "h": 250.4
  },
  "luminance": 0.22163
}

Semantic roles & 50–950 ramp

primary
#5A85B2
secondary
#C7B4A1
accent
#955BCC
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0D0F13
muted
#7D7F82

Preview Lab

Preview with #5A85B2

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

Preview Lab → · Contrast checker → · Palette generator →

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