#7FA6DC#7FA6DC

#7FA6DC is a light, moderate cyan. Relative luminance 0.370; OKLCH L 71.7% C 0.090 H 256.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7FA6DC
RGBrgb(127, 166, 220)
HSLhsl(215, 57%, 68%)
HSVhsv(215, 42%, 86%)
CMYKcmyk(42.3%, 24.5%, 0%, 13.7%)
CIE-LABlab(67.24, 0.62, -31.50)
CIE-LCHlch(67.24, 31.51, 271.13°)
OKLaboklab(71.74% -0.0208 -0.0877)
OKLCHoklch(71.74% 0.09 256.6)
XYZxyz(35.3027, 36.9497, 72.9681)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6DC #DCB57F
analogous
#7FD4DC #7FA6DC #867FDC
triadic
#7FA6DC #DC7FA6 #A6DC7F
tetradic
#7FA6DC #DC7FD4 #DCB57F #7FDC86
square
#7FA6DC #DC7FD4 #DCB57F #7FDC86
split-complementary
#7FA6DC #DC867F #D4DC7F
monochromatic
#3066B0 #4F85CF #7FA6DC #AFC7E9 #DFE9F6

Accessibility & contrast

On white

2.50
#7FA6DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#7FA6DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6DC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6DC#FFFFFF#000000##000000
##7FA6DC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9DE
Deuteranopia (green-blind)
#87A0DB
Tritanopia (blue-blind)
#5DB2B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa6dc;
/* rgb */ color: rgb(127, 166, 220);
/* oklch */ color: oklch(71.7% 0.090 256.6);
Tailwind
colors: {
  custom: {
    50: '#a8c0e7',
    500: '#7fa6dc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6dc;
$custom-light: #a8c0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6dc",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 220
  },
  "hsl": {
    "h": 214.839,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71741,
    "c": 0.09014,
    "h": 256.6
  },
  "luminance": 0.36952
}

Semantic roles & 50–950 ramp

primary
#7FA6DC
secondary
#EADECD
accent
#8021C5
background
#FAFBFE
surface
#F4F7FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA6DC

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

Preview Lab → · Contrast checker → · Palette generator →

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