#5A97BF#5A97BF

#5A97BF is a light, moderate cyan. Relative luminance 0.281; OKLCH L 65.1% C 0.087 H 238.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5A97BF
RGBrgb(90, 151, 191)
HSLhsl(204, 44%, 55%)
HSVhsv(204, 53%, 75%)
CMYKcmyk(52.9%, 20.9%, 0%, 25.1%)
CIE-LABlab(59.95, -8.36, -26.77)
CIE-LCHlch(59.95, 28.05, 252.65°)
OKLaboklab(65.11% -0.0452 -0.0746)
OKLCHoklch(65.11% 0.087 238.8)
XYZxyz(24.6836, 28.0664, 53.3967)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97BF #BF825A
analogous
#5ABFB4 #5A97BF #5A65BF
triadic
#5A97BF #BF5A97 #97BF5A
tetradic
#5A97BF #B45ABF #BF825A #65BF5A
square
#5A97BF #B45ABF #BF825A #65BF5A
split-complementary
#5A97BF #BF5A65 #BFB45A
monochromatic
#2C5772 #3D789E #5A97BF #86B3D0 #B2CFE1

Accessibility & contrast

On white

3.18
#5A97BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5A97BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A97BF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97BF#FFFFFF#000000##000000
##5A97BF1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8596C1
Deuteranopia (green-blind)
#778CBE
Tritanopia (blue-blind)
#1CA1A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a97bf;
/* rgb */ color: rgb(90, 151, 191);
/* oklch */ color: oklch(65.1% 0.087 238.8);
Tailwind
colors: {
  custom: {
    50: '#8fb5d2',
    500: '#5a97bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a97bf;
$custom-light: #8fb5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97bf",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 203.762,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.65106,
    "c": 0.08726,
    "h": 238.8
  },
  "luminance": 0.28068
}

Semantic roles & 50–950 ramp

primary
#5A97BF
secondary
#D0B6A5
accent
#8754D4
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5A97BF

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

Preview Lab → · Contrast checker → · Palette generator →

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