#7FA0CF#7FA0CF

#7FA0CF is a light, moderate blue. Relative luminance 0.342; OKLCH L 69.9% C 0.079 H 257.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7FA0CF
RGBrgb(127, 160, 207)
HSLhsl(215, 45%, 65%)
HSVhsv(215, 39%, 81%)
CMYKcmyk(38.6%, 22.7%, 0%, 18.8%)
CIE-LABlab(65.09, 0.42, -27.64)
CIE-LCHlch(65.09, 27.64, 270.87°)
OKLaboklab(69.88% -0.0174 -0.0766)
OKLCHoklch(69.88% 0.079 257.2)
XYZxyz(32.5821, 34.1569, 63.8955)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0CF #CFAE7F
analogous
#7FC8CF #7FA0CF #867FCF
triadic
#7FA0CF #CF7FA0 #A0CF7F
tetradic
#7FA0CF #CF7FC8 #CFAE7F #7FCF86
square
#7FA0CF #CF7FC8 #CFAE7F #7FCF86
split-complementary
#7FA0CF #CF867F #C8CF7F
monochromatic
#3A619A #527FBE #7FA0CF #ACC1E0 #D8E2F0

Accessibility & contrast

On white

2.68
#7FA0CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#7FA0CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0CF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0CF#FFFFFF#000000##000000
##7FA0CF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA2D1
Deuteranopia (green-blind)
#869ACE
Tritanopia (blue-blind)
#64AAB0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fa0cf;
/* rgb */ color: rgb(127, 160, 207);
/* oklch */ color: oklch(69.9% 0.079 257.2);
Tailwind
colors: {
  custom: {
    50: '#a7bcdd',
    500: '#7fa0cf',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0cf;
$custom-light: #a7bcdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0cf",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 207
  },
  "hsl": {
    "h": 215.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.0786,
    "h": 257.2
  },
  "luminance": 0.34159
}

Semantic roles & 50–950 ramp

primary
#7FA0CF
secondary
#E2D7C8
accent
#7F2DB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #7FA0CF

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

Preview Lab → · Contrast checker → · Palette generator →

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