#7FA8CC#7FA8CC

#7FA8CC is a light, moderate cyan. Relative luminance 0.369; OKLCH L 71.5% C 0.069 H 245.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA8CC
RGBrgb(127, 168, 204)
HSLhsl(208, 43%, 65%)
HSVhsv(208, 38%, 80%)
CMYKcmyk(37.7%, 17.6%, 0%, 20%)
CIE-LABlab(67.18, -4.83, -22.76)
CIE-LCHlch(67.18, 23.27, 258.01°)
OKLaboklab(71.5% -0.0287 -0.0628)
OKLCHoklch(71.5% 0.069 245.5)
XYZxyz(33.6506, 36.8751, 62.4595)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8CC #CCA37F
analogous
#7FCCCA #7FA8CC #7F81CC
triadic
#7FA8CC #CC7FA8 #A8CC7F
tetradic
#7FA8CC #CA7FCC #CCA37F #81CC7F
square
#7FA8CC #CA7FCC #CCA37F #81CC7F
split-complementary
#7FA8CC #CC7F81 #CCCA7F
monochromatic
#3B6B95 #538ABB #7FA8CC #ABC6DD #D7E3EF

Accessibility & contrast

On white

2.51
#7FA8CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7FA8CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8CC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8CC#FFFFFF#000000##000000
##7FA8CC1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A8CE
Deuteranopia (green-blind)
#90A0CB
Tritanopia (blue-blind)
#64B1B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa8cc;
/* rgb */ color: rgb(127, 168, 204);
/* oklch */ color: oklch(71.5% 0.069 245.5);
Tailwind
colors: {
  custom: {
    50: '#a7c1db',
    500: '#7fa8cc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8cc;
$custom-light: #a7c1db;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8cc",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 204
  },
  "hsl": {
    "h": 208.052,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.71496,
    "c": 0.06906,
    "h": 245.5
  },
  "luminance": 0.36877
}

Semantic roles & 50–950 ramp

primary
#7FA8CC
secondary
#E1D3C6
accent
#6E2FB6
background
#FAFBFD
surface
#F4F7FB
border
#CED0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #7FA8CC

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

Preview Lab → · Contrast checker → · Palette generator →

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