#5FA1CC#5FA1CC

#5FA1CC is a light, moderate cyan. Relative luminance 0.323; OKLCH L 68.2% C 0.093 H 238.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5FA1CC
RGBrgb(95, 161, 204)
HSLhsl(204, 52%, 59%)
HSVhsv(204, 53%, 80%)
CMYKcmyk(53.4%, 21.1%, 0%, 20%)
CIE-LABlab(63.57, -8.88, -28.44)
CIE-LCHlch(63.57, 29.80, 252.66°)
OKLaboklab(68.21% -0.0482 -0.0793)
OKLCHoklch(68.21% 0.093 238.7)
XYZxyz(28.3593, 32.2799, 61.8512)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1CC #CC8A5F
analogous
#5FCCC1 #5FA1CC #5F6ACC
triadic
#5FA1CC #CC5FA1 #A1CC5F
tetradic
#5FA1CC #C15FCC #CC8A5F #6ACC5F
square
#5FA1CC #C15FCC #CC8A5F #6ACC5F
split-complementary
#5FA1CC #CC5F6A #CCC15F
monochromatic
#2B6286 #3984B4 #5FA1CC #8DBCDB #BCD8EA

Accessibility & contrast

On white

2.82
#5FA1CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#5FA1CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1CC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1CC#FFFFFF#000000##000000
##5FA1CC1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CE
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#17ACAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fa1cc;
/* rgb */ color: rgb(95, 161, 204);
/* oklch */ color: oklch(68.2% 0.093 238.7);
Tailwind
colors: {
  custom: {
    50: '#94bcdb',
    500: '#5fa1cc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1cc;
$custom-light: #94bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1cc",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 204
  },
  "hsl": {
    "h": 203.67,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.09285,
    "h": 238.7
  },
  "luminance": 0.32282
}

Semantic roles & 50–950 ramp

primary
#5FA1CC
secondary
#D9BFAE
accent
#854DDB
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0E1215
muted
#7E8183

Preview Lab

Preview with #5FA1CC

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

Preview Lab → · Contrast checker → · Palette generator →

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