#7FA5CC#7FA5CC

#7FA5CC is a light, moderate cyan. Relative luminance 0.358; OKLCH L 70.8% C 0.071 H 249.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7FA5CC
RGBrgb(127, 165, 204)
HSLhsl(210, 43%, 65%)
HSVhsv(210, 38%, 80%)
CMYKcmyk(37.7%, 19.1%, 0%, 20%)
CIE-LABlab(66.35, -3.18, -24.03)
CIE-LCHlch(66.35, 24.24, 262.47°)
OKLaboklab(70.84% -0.0248 -0.0664)
OKLCHoklch(70.84% 0.071 249.5)
XYZxyz(33.1031, 35.7802, 62.2770)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5CC #CCA67F
analogous
#7FCBCC #7FA5CC #807FCC
triadic
#7FA5CC #CC7FA5 #A5CC7F
tetradic
#7FA5CC #CC7FCB #CCA67F #7FCC80
square
#7FA5CC #CC7FCB #CCA67F #7FCC80
split-complementary
#7FA5CC #CC807F #CBCC7F
monochromatic
#3B6895 #5386BB #7FA5CC #ABC4DD #D7E3EF

Accessibility & contrast

On white

2.57
#7FA5CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7FA5CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5CC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5CC#FFFFFF#000000##000000
##7FA5CC1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CE
Deuteranopia (green-blind)
#8C9ECB
Tritanopia (blue-blind)
#65AEB2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa5cc;
/* rgb */ color: rgb(127, 165, 204);
/* oklch */ color: oklch(70.8% 0.071 249.5);
Tailwind
colors: {
  custom: {
    50: '#a6bfdb',
    500: '#7fa5cc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5cc;
$custom-light: #a6bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5cc",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 204
  },
  "hsl": {
    "h": 210.39,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.07091,
    "h": 249.5
  },
  "luminance": 0.35782
}

Semantic roles & 50–950 ramp

primary
#7FA5CC
secondary
#E1D4C6
accent
#742FB6
background
#FAFBFD
surface
#F4F7FB
border
#CED0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #7FA5CC

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

Preview Lab → · Contrast checker → · Palette generator →

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