#5F97AB#5F97AB

#5F97AB is a light, moderate cyan. Relative luminance 0.275; OKLCH L 64.5% C 0.066 H 222.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5F97AB
RGBrgb(95, 151, 171)
HSLhsl(196, 31%, 52%)
HSVhsv(196, 44%, 67%)
CMYKcmyk(44.4%, 11.7%, 0%, 32.9%)
CIE-LABlab(59.44, -12.98, -16.22)
CIE-LCHlch(59.44, 20.78, 231.33°)
OKLaboklab(64.52% -0.0485 -0.0447)
OKLCHoklch(64.52% 0.066 222.7)
XYZxyz(23.1340, 27.5047, 42.6101)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97AB #AB735F
analogous
#5FAB99 #5F97AB #5F71AB
triadic
#5F97AB #AB5F97 #97AB5F
tetradic
#5F97AB #995FAB #AB735F #71AB5F
square
#5F97AB #995FAB #AB735F #71AB5F
split-complementary
#5F97AB #AB5F71 #AB995F
monochromatic
#31525E #477686 #5F97AB #87B1C0 #AFCBD5

Accessibility & contrast

On white

3.23
#5F97AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5F97AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F97AB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97AB#FFFFFF#000000##000000
##5F97AB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B94AC
Deuteranopia (green-blind)
#808BAB
Tritanopia (blue-blind)
#3D9D9D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f97ab;
/* rgb */ color: rgb(95, 151, 171);
/* oklch */ color: oklch(64.5% 0.066 222.7);
Tailwind
colors: {
  custom: {
    50: '#90b5c4',
    500: '#5f97ab',
    950: '#000000',
  },
}
SCSS
$custom: #5f97ab;
$custom-light: #90b5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97ab",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 195.789,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.64518,
    "c": 0.06596,
    "h": 222.7
  },
  "luminance": 0.27506
}

Semantic roles & 50–950 ramp

primary
#5F97AB
secondary
#C3ABA2
accent
#7C60C7
background
#F9FBFC
surface
#F1F6F8
border
#CBD0D1
text
#0D1112
muted
#7E8081

Preview Lab

Preview with #5F97AB

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

Preview Lab → · Contrast checker → · Palette generator →

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