#5F97CF#5F97CF

#5F97CF is a light, moderate cyan. Relative luminance 0.291; OKLCH L 66.1% C 0.103 H 249.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5F97CF
RGBrgb(95, 151, 207)
HSLhsl(210, 54%, 59%)
HSVhsv(210, 54%, 81%)
CMYKcmyk(54.1%, 27.1%, 0%, 18.8%)
CIE-LABlab(60.84, -2.35, -34.35)
CIE-LCHlch(60.84, 34.43, 266.08°)
OKLaboklab(66.09% -0.0358 -0.0964)
OKLCHoklch(66.09% 0.103 249.6)
XYZxyz(27.0444, 29.0689, 63.2051)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97CF #CF975F
analogous
#5FCFCF #5F97CF #5F5FCF
triadic
#5F97CF #CF5F97 #97CF5F
tetradic
#5F97CF #CF5FCF #CF975F #5FCF5F
square
#5F97CF #CF5FCF #CF975F #5FCF5F
split-complementary
#5F97CF #CF5F5F #CFCF5F
monochromatic
#295A8A #3878B9 #5F97CF #8EB6DD #BDD4EB

Accessibility & contrast

On white

3.08
#5F97CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#5F97CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F97CF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97CF#FFFFFF#000000##000000
##5F97CF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8099D2
Deuteranopia (green-blind)
#718ECE
Tritanopia (blue-blind)
#17A4AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5f97cf;
/* rgb */ color: rgb(95, 151, 207);
/* oklch */ color: oklch(66.1% 0.103 249.6);
Tailwind
colors: {
  custom: {
    50: '#94b5de',
    500: '#5f97cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f97cf;
$custom-light: #94b5de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97cf",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 210,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66092,
    "c": 0.10279,
    "h": 249.6
  },
  "luminance": 0.29071
}

Semantic roles & 50–950 ramp

primary
#5F97CF
secondary
#DBC5AF
accent
#944BDD
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0E1115
muted
#7E8083

Preview Lab

Preview with #5F97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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