#7FA0DC#7FA0DC

#7FA0DC is a light, moderate blue. Relative luminance 0.348; OKLCH L 70.5% C 0.096 H 262.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7FA0DC
RGBrgb(127, 160, 220)
HSLhsl(219, 57%, 68%)
HSVhsv(219, 42%, 86%)
CMYKcmyk(42.3%, 27.3%, 0%, 13.7%)
CIE-LABlab(65.61, 4.00, -34.03)
CIE-LCHlch(65.61, 34.27, 276.71°)
OKLaboklab(70.46% -0.0134 -0.095)
OKLCHoklch(70.46% 0.096 262)
XYZxyz(34.2374, 34.8190, 72.6130)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0DC #DCBB7F
analogous
#7FCEDC #7FA0DC #8C7FDC
triadic
#7FA0DC #DC7FA0 #A0DC7F
tetradic
#7FA0DC #DC7FCE #DCBB7F #7FDC8C
square
#7FA0DC #DC7FCE #DCBB7F #7FDC8C
split-complementary
#7FA0DC #DC8C7F #CEDC7F
monochromatic
#305EB0 #4F7CCF #7FA0DC #AFC4E9 #DFE7F6

Accessibility & contrast

On white

2.64
#7FA0DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#7FA0DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0DC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0DC#FFFFFF#000000##000000
##7FA0DC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#809BDB
Tritanopia (blue-blind)
#5EADB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fa0dc;
/* rgb */ color: rgb(127, 160, 220);
/* oklch */ color: oklch(70.5% 0.096 262.0);
Tailwind
colors: {
  custom: {
    50: '#a8bbe7',
    500: '#7fa0dc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0dc;
$custom-light: #a8bbe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0dc",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 220
  },
  "hsl": {
    "h": 218.71,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70464,
    "c": 0.0959,
    "h": 262
  },
  "luminance": 0.34821
}

Semantic roles & 50–950 ramp

primary
#7FA0DC
secondary
#EAE0CD
accent
#8B21C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7FA0DC

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

Preview Lab → · Contrast checker → · Palette generator →

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