#7FA7DC#7FA7DC

#7FA7DC is a light, moderate cyan. Relative luminance 0.373; OKLCH L 72.0% C 0.089 H 255.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA7DC
RGBrgb(127, 167, 220)
HSLhsl(214, 57%, 68%)
HSVhsv(214, 42%, 86%)
CMYKcmyk(42.3%, 24.1%, 0%, 13.7%)
CIE-LABlab(67.51, 0.06, -31.08)
CIE-LCHlch(67.51, 31.08, 270.12°)
OKLaboklab(71.96% -0.0221 -0.0865)
OKLCHoklch(71.96% 0.089 255.7)
XYZxyz(35.4852, 37.3147, 73.0289)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7DC #DCB47F
analogous
#7FD5DC #7FA7DC #867FDC
triadic
#7FA7DC #DC7FA7 #A7DC7F
tetradic
#7FA7DC #DC7FD5 #DCB47F #7FDC86
square
#7FA7DC #DC7FD5 #DCB47F #7FDC86
split-complementary
#7FA7DC #DC867F #D5DC7F
monochromatic
#3067B0 #4F86CF #7FA7DC #AFC8E9 #DFE9F6

Accessibility & contrast

On white

2.48
#7FA7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#7FA7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7DC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7DC#FFFFFF#000000##000000
##7FA7DC1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DE
Deuteranopia (green-blind)
#88A0DB
Tritanopia (blue-blind)
#5DB3B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa7dc;
/* rgb */ color: rgb(127, 167, 220);
/* oklch */ color: oklch(72.0% 0.089 255.7);
Tailwind
colors: {
  custom: {
    50: '#a8c1e7',
    500: '#7fa7dc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7dc;
$custom-light: #a8c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7dc",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 214.194,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71955,
    "c": 0.08927,
    "h": 255.7
  },
  "luminance": 0.37317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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