#7FA0CC#7FA0CC

#7FA0CC is a light, moderate cyan. Relative luminance 0.340; OKLCH L 69.8% C 0.075 H 255.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7FA0CC
RGBrgb(127, 160, 204)
HSLhsl(214, 43%, 65%)
HSVhsv(214, 38%, 80%)
CMYKcmyk(37.7%, 21.6%, 0%, 20%)
CIE-LABlab(64.97, -0.39, -26.15)
CIE-LCHlch(64.97, 26.15, 269.15°)
OKLaboklab(69.76% -0.0184 -0.0724)
OKLCHoklch(69.76% 0.075 255.8)
XYZxyz(32.2189, 34.0116, 61.9823)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0CC #CCAB7F
analogous
#7FC6CC #7FA0CC #857FCC
triadic
#7FA0CC #CC7FA0 #A0CC7F
tetradic
#7FA0CC #CC7FC6 #CCAB7F #7FCC85
square
#7FA0CC #CC7FC6 #CCAB7F #7FCC85
split-complementary
#7FA0CC #CC857F #C6CC7F
monochromatic
#3B6295 #5380BB #7FA0CC #ABC0DD #D7E1EF

Accessibility & contrast

On white

2.69
#7FA0CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#7FA0CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0CC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0CC#FFFFFF#000000##000000
##7FA0CC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CE
Deuteranopia (green-blind)
#879ACB
Tritanopia (blue-blind)
#66AAAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fa0cc;
/* rgb */ color: rgb(127, 160, 204);
/* oklch */ color: oklch(69.8% 0.075 255.8);
Tailwind
colors: {
  custom: {
    50: '#a6bcdb',
    500: '#7fa0cc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0cc;
$custom-light: #a6bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0cc",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 204
  },
  "hsl": {
    "h": 214.286,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69757,
    "c": 0.0747,
    "h": 255.8
  },
  "luminance": 0.34013
}

Semantic roles & 50–950 ramp

primary
#7FA0CC
secondary
#E1D5C6
accent
#7C2FB6
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #7FA0CC

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

Preview Lab → · Contrast checker → · Palette generator →

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