#5A85BC#5A85BC

#5A85BC is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.9% C 0.097 H 255.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5A85BC
RGBrgb(90, 133, 188)
HSLhsl(214, 42%, 55%)
HSVhsv(214, 52%, 74%)
CMYKcmyk(52.1%, 29.3%, 0%, 26.3%)
CIE-LABlab(54.63, 1.03, -33.32)
CIE-LCHlch(54.63, 33.33, 271.77°)
OKLaboklab(60.88% -0.0249 -0.0935)
OKLCHoklch(60.88% 0.097 255.1)
XYZxyz(21.6780, 22.5779, 50.7828)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85BC #BC915A
analogous
#5AB6BC #5A85BC #605ABC
triadic
#5A85BC #BC5A85 #85BC5A
tetradic
#5A85BC #BC5AB6 #BC915A #5ABC60
square
#5A85BC #BC5AB6 #BC915A #5ABC60
split-complementary
#5A85BC #BC605A #B6BC5A
monochromatic
#2D4A6F #3F679A #5A85BC #86A5CE #B1C5DF

Accessibility & contrast

On white

3.81
#5A85BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5A85BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85BC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85BC#FFFFFF#000000##000000
##5A85BC1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#637EBB
Tritanopia (blue-blind)
#279198
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a85bc;
/* rgb */ color: rgb(90, 133, 188);
/* oklch */ color: oklch(60.9% 0.097 255.1);
Tailwind
colors: {
  custom: {
    50: '#8fa8d0',
    500: '#5a85bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a85bc;
$custom-light: #8fa8d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85bc",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 188
  },
  "hsl": {
    "h": 213.673,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.0968,
    "h": 255.1
  },
  "luminance": 0.2258
}

Semantic roles & 50–950 ramp

primary
#5A85BC
secondary
#CEBBA4
accent
#9C56D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A85BC

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

Preview Lab → · Contrast checker → · Palette generator →

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