#5A97BB#5A97BB

#5A97BB is a light, moderate cyan. Relative luminance 0.279; OKLCH L 64.9% C 0.083 H 235.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5A97BB
RGBrgb(90, 151, 187)
HSLhsl(202, 42%, 54%)
HSVhsv(202, 52%, 73%)
CMYKcmyk(51.9%, 19.3%, 0%, 26.7%)
CIE-LABlab(59.79, -9.57, -24.76)
CIE-LCHlch(59.79, 26.54, 248.87°)
OKLaboklab(64.93% -0.0466 -0.0689)
OKLCHoklch(64.93% 0.083 235.9)
XYZxyz(24.2494, 27.8928, 51.1100)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97BB #BB7E5A
analogous
#5ABBAF #5A97BB #5A67BB
triadic
#5A97BB #BB5A97 #97BB5A
tetradic
#5A97BB #AF5ABB #BB7E5A #67BB5A
square
#5A97BB #AF5ABB #BB7E5A #67BB5A
split-complementary
#5A97BB #BB5A67 #BBAF5A
monochromatic
#2D566D #3F7799 #5A97BB #85B2CD #B1CEDF

Accessibility & contrast

On white

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

On black

6.58
#5A97BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A97BB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97BB#FFFFFF#000000##000000
##5A97BB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BD
Deuteranopia (green-blind)
#798CBA
Tritanopia (blue-blind)
#22A0A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a97bb;
/* rgb */ color: rgb(90, 151, 187);
/* oklch */ color: oklch(64.9% 0.083 235.9);
Tailwind
colors: {
  custom: {
    50: '#8fb5cf',
    500: '#5a97bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a97bb;
$custom-light: #8fb5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97bb",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 202.268,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.64929,
    "c": 0.08318,
    "h": 235.9
  },
  "luminance": 0.27895
}

Semantic roles & 50–950 ramp

primary
#5A97BB
secondary
#CDB3A4
accent
#8456D1
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1113
muted
#7E8082

Preview Lab

Preview with #5A97BB

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

Preview Lab → · Contrast checker → · Palette generator →

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