#5FA8CC#5FA8CC

#5FA8CC is a light, moderate cyan. Relative luminance 0.348; OKLCH L 69.8% C 0.090 H 231.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5FA8CC
RGBrgb(95, 168, 204)
HSLhsl(200, 52%, 59%)
HSVhsv(200, 53%, 80%)
CMYKcmyk(53.4%, 17.6%, 0%, 20%)
CIE-LABlab(65.59, -12.70, -25.34)
CIE-LCHlch(65.59, 28.34, 243.38°)
OKLaboklab(69.81% -0.0562 -0.0705)
OKLCHoklch(69.81% 0.09 231.4)
XYZxyz(29.6170, 34.7952, 62.2704)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA8CC #CC835F
analogous
#5FCCBA #5FA8CC #5F71CC
triadic
#5FA8CC #CC5FA8 #A8CC5F
tetradic
#5FA8CC #BA5FCC #CC835F #71CC5F
square
#5FA8CC #BA5FCC #CC835F #71CC5F
split-complementary
#5FA8CC #CC5F71 #CCBA5F
monochromatic
#2B6886 #398CB4 #5FA8CC #8DC1DB #BCDAEA

Accessibility & contrast

On white

2.64
#5FA8CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#5FA8CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA8CC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA8CC#FFFFFF#000000##000000
##5FA8CC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CE
Deuteranopia (green-blind)
#879ACB
Tritanopia (blue-blind)
#11B2B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa8cc;
/* rgb */ color: rgb(95, 168, 204);
/* oklch */ color: oklch(69.8% 0.090 231.4);
Tailwind
colors: {
  custom: {
    50: '#94c1db',
    500: '#5fa8cc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa8cc;
$custom-light: #94c1db;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa8cc",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 204
  },
  "hsl": {
    "h": 199.817,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.69806,
    "c": 0.09015,
    "h": 231.4
  },
  "luminance": 0.34798
}

Semantic roles & 50–950 ramp

primary
#5FA8CC
secondary
#D9BCAE
accent
#7C4DDB
background
#F9FBFD
surface
#F2F7FB
border
#CCD0D4
text
#0E1215
muted
#7E8183

Preview Lab

Preview with #5FA8CC

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

Preview Lab → · Contrast checker → · Palette generator →

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