#7FA8DC#7FA8DC

#7FA8DC is a light, moderate cyan. Relative luminance 0.377; OKLCH L 72.2% C 0.088 H 254.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7FA8DC
RGBrgb(127, 168, 220)
HSLhsl(214, 57%, 68%)
HSVhsv(214, 42%, 86%)
CMYKcmyk(42.3%, 23.6%, 0%, 13.7%)
CIE-LABlab(67.79, -0.49, -30.66)
CIE-LCHlch(67.79, 30.66, 269.08°)
OKLaboklab(72.17% -0.0233 -0.0853)
OKLCHoklch(72.17% 0.088 254.7)
XYZxyz(35.6691, 37.6825, 73.0902)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8DC #DCB37F
analogous
#7FD7DC #7FA8DC #847FDC
triadic
#7FA8DC #DC7FA8 #A8DC7F
tetradic
#7FA8DC #DC7FD7 #DCB37F #7FDC84
square
#7FA8DC #DC7FD7 #DCB37F #7FDC84
split-complementary
#7FA8DC #DC847F #D7DC7F
monochromatic
#3069B0 #4F87CF #7FA8DC #AFC9E9 #DFE9F6

Accessibility & contrast

On white

2.46
#7FA8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#7FA8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8DC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8DC#FFFFFF#000000##000000
##7FA8DC1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADE
Deuteranopia (green-blind)
#89A1DB
Tritanopia (blue-blind)
#5DB3BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa8dc;
/* rgb */ color: rgb(127, 168, 220);
/* oklch */ color: oklch(72.2% 0.088 254.7);
Tailwind
colors: {
  custom: {
    50: '#a8c1e7',
    500: '#7fa8dc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8dc;
$custom-light: #a8c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8dc",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 220
  },
  "hsl": {
    "h": 213.548,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72169,
    "c": 0.08841,
    "h": 254.7
  },
  "luminance": 0.37685
}

Semantic roles & 50–950 ramp

primary
#7FA8DC
secondary
#EADDCD
accent
#7C21C5
background
#FAFBFE
surface
#F4F7FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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