#7FA6EC#7FA6EC

#7FA6EC is a light, moderate blue. Relative luminance 0.378; OKLCH L 72.5% C 0.111 H 261.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7FA6EC
RGBrgb(127, 166, 236)
HSLhsl(219, 74%, 71%)
HSVhsv(219, 46%, 93%)
CMYKcmyk(46.2%, 29.7%, 0%, 7.5%)
CIE-LABlab(67.90, 5.15, -39.26)
CIE-LCHlch(67.90, 39.59, 277.48°)
OKLaboklab(72.48% -0.0161 -0.11)
OKLCHoklch(72.48% 0.111 261.6)
XYZxyz(37.5240, 37.8382, 84.6668)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6EC #ECC57F
analogous
#7FDCEC #7FA6EC #8E7FEC
triadic
#7FA6EC #EC7FA6 #A6EC7F
tetradic
#7FA6EC #EC7FDC #ECC57F #7FEC8E
square
#7FA6EC #EC7FDC #ECC57F #7FEC8E
split-complementary
#7FA6EC #EC8E7F #DCEC7F
monochromatic
#1F5FD2 #4A81E4 #7FA6EC #B4CBF4 #E4ECFB

Accessibility & contrast

On white

2.45
#7FA6EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#7FA6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6EC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6EC#FFFFFF#000000##000000
##7FA6EC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#53B5BF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa6ec;
/* rgb */ color: rgb(127, 166, 236);
/* oklch */ color: oklch(72.5% 0.111 261.6);
Tailwind
colors: {
  custom: {
    50: '#a9c0f2',
    500: '#7fa6ec',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6ec;
$custom-light: #a9c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6ec",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 236
  },
  "hsl": {
    "h": 218.532,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72476,
    "c": 0.11118,
    "h": 261.6
  },
  "luminance": 0.37841
}

Semantic roles & 50–950 ramp

primary
#7FA6EC
secondary
#F2E7D5
accent
#8F0FD6
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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