#5A97BC#5A97BC

#5A97BC is a light, moderate cyan. Relative luminance 0.279; OKLCH L 65.0% C 0.084 H 236.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5A97BC
RGBrgb(90, 151, 188)
HSLhsl(203, 42%, 55%)
HSVhsv(203, 52%, 74%)
CMYKcmyk(52.1%, 19.7%, 0%, 26.3%)
CIE-LABlab(59.83, -9.27, -25.26)
CIE-LCHlch(59.83, 26.91, 249.85°)
OKLaboklab(64.97% -0.0462 -0.0703)
OKLCHoklch(64.97% 0.084 236.7)
XYZxyz(24.3569, 27.9357, 51.6758)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97BC #BC7F5A
analogous
#5ABCB0 #5A97BC #5A66BC
triadic
#5A97BC #BC5A97 #97BC5A
tetradic
#5A97BC #B05ABC #BC7F5A #66BC5A
square
#5A97BC #B05ABC #BC7F5A #66BC5A
split-complementary
#5A97BC #BC5A66 #BCB05A
monochromatic
#2D566F #3F789A #5A97BC #86B2CE #B1CEDF

Accessibility & contrast

On white

3.19
#5A97BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#5A97BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A97BC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97BC#FFFFFF#000000##000000
##5A97BC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BE
Deuteranopia (green-blind)
#788CBB
Tritanopia (blue-blind)
#20A1A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a97bc;
/* rgb */ color: rgb(90, 151, 188);
/* oklch */ color: oklch(65.0% 0.084 236.7);
Tailwind
colors: {
  custom: {
    50: '#8fb5d0',
    500: '#5a97bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a97bc;
$custom-light: #8fb5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97bc",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 202.653,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.64973,
    "c": 0.08418,
    "h": 236.7
  },
  "luminance": 0.27938
}

Semantic roles & 50–950 ramp

primary
#5A97BC
secondary
#CEB4A4
accent
#8556D2
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5A97BC

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

Preview Lab → · Contrast checker → · Palette generator →

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