#7FA1CC#7FA1CC

#7FA1CC is a light, moderate cyan. Relative luminance 0.344; OKLCH L 70.0% C 0.074 H 254.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7FA1CC
RGBrgb(127, 161, 204)
HSLhsl(214, 43%, 65%)
HSVhsv(214, 38%, 80%)
CMYKcmyk(37.7%, 21.1%, 0%, 20%)
CIE-LABlab(65.25, -0.95, -25.73)
CIE-LCHlch(65.25, 25.74, 267.89°)
OKLaboklab(69.97% -0.0197 -0.0712)
OKLCHoklch(69.97% 0.074 254.6)
XYZxyz(32.3929, 34.3597, 62.0403)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1CC #CCAA7F
analogous
#7FC8CC #7FA1CC #837FCC
triadic
#7FA1CC #CC7FA1 #A1CC7F
tetradic
#7FA1CC #CC7FC8 #CCAA7F #7FCC83
square
#7FA1CC #CC7FC8 #CCAA7F #7FCC83
split-complementary
#7FA1CC #CC837F #C8CC7F
monochromatic
#3B6395 #5381BB #7FA1CC #ABC1DD #D7E1EF

Accessibility & contrast

On white

2.67
#7FA1CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#7FA1CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1CC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1CC#FFFFFF#000000##000000
##7FA1CC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3CE
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#65AAAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fa1cc;
/* rgb */ color: rgb(127, 161, 204);
/* oklch */ color: oklch(70.0% 0.074 254.6);
Tailwind
colors: {
  custom: {
    50: '#a6bcdb',
    500: '#7fa1cc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1cc;
$custom-light: #a6bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1cc",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 204
  },
  "hsl": {
    "h": 213.506,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69973,
    "c": 0.07387,
    "h": 254.6
  },
  "luminance": 0.34361
}

Semantic roles & 50–950 ramp

primary
#7FA1CC
secondary
#E1D5C6
accent
#7B2FB6
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #7FA1CC

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

Preview Lab → · Contrast checker → · Palette generator →

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