#5F97AC#5F97AC

#5F97AC is a light, moderate cyan. Relative luminance 0.275; OKLCH L 64.6% C 0.067 H 223.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5F97AC
RGBrgb(95, 151, 172)
HSLhsl(196, 32%, 52%)
HSVhsv(196, 45%, 67%)
CMYKcmyk(44.8%, 12.2%, 0%, 32.5%)
CIE-LABlab(59.47, -12.71, -16.74)
CIE-LCHlch(59.47, 21.01, 232.80°)
OKLaboklab(64.56% -0.0481 -0.0462)
OKLCHoklch(64.56% 0.067 223.8)
XYZxyz(23.2296, 27.5430, 43.1140)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97AC #AC745F
analogous
#5FAC9B #5F97AC #5F70AC
triadic
#5F97AC #AC5F97 #97AC5F
tetradic
#5F97AC #9B5FAC #AC745F #70AC5F
square
#5F97AC #9B5FAC #AC745F #70AC5F
split-complementary
#5F97AC #AC5F70 #AC9B5F
monochromatic
#31535F #467688 #5F97AC #87B1C1 #B0CBD6

Accessibility & contrast

On white

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

On black

6.51
#5F97AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F97AC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97AC#FFFFFF#000000##000000
##5F97AC1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B94AD
Deuteranopia (green-blind)
#808BAC
Tritanopia (blue-blind)
#3D9E9E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f97ac;
/* rgb */ color: rgb(95, 151, 172);
/* oklch */ color: oklch(64.6% 0.067 223.8);
Tailwind
colors: {
  custom: {
    50: '#90b5c4',
    500: '#5f97ac',
    950: '#000000',
  },
}
SCSS
$custom: #5f97ac;
$custom-light: #90b5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97ac",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 172
  },
  "hsl": {
    "h": 196.364,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.64557,
    "c": 0.06667,
    "h": 223.8
  },
  "luminance": 0.27545
}

Semantic roles & 50–950 ramp

primary
#5F97AC
secondary
#C4ACA3
accent
#7C60C8
background
#F9FBFC
surface
#F1F6F8
border
#CBD0D1
text
#0D1112
muted
#7E8081

Preview Lab

Preview with #5F97AC

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

Preview Lab → · Contrast checker → · Palette generator →

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