#7FA6EB#7FA6EB

#7FA6EB is a light, moderate blue. Relative luminance 0.378; OKLCH L 72.4% C 0.110 H 261.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7FA6EB
RGBrgb(127, 166, 235)
HSLhsl(218, 73%, 71%)
HSVhsv(218, 46%, 92%)
CMYKcmyk(46%, 29.4%, 0%, 7.8%)
CIE-LABlab(67.86, 4.87, -38.78)
CIE-LCHlch(67.86, 39.08, 277.15°)
OKLaboklab(72.43% -0.0164 -0.1086)
OKLCHoklch(72.43% 0.11 261.4)
XYZxyz(37.3791, 37.7803, 83.9038)
Luminance0.3778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6EB #EBC47F
analogous
#7FDCEB #7FA6EB #8E7FEB
triadic
#7FA6EB #EB7FA6 #A6EB7F
tetradic
#7FA6EB #EB7FDC #EBC47F #7FEB8E
square
#7FA6EB #EB7FDC #EBC47F #7FEB8E
split-complementary
#7FA6EB #EB8E7F #DCEB7F
monochromatic
#2060CF #4A81E3 #7FA6EB #B4CBF3 #E5EDFB

Accessibility & contrast

On white

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

On black

8.56
#7FA6EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6EB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6EB#FFFFFF#000000##000000
##7FA6EB1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEE
Deuteranopia (green-blind)
#80A1E9
Tritanopia (blue-blind)
#54B5BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa6eb;
/* rgb */ color: rgb(127, 166, 235);
/* oklch */ color: oklch(72.4% 0.110 261.4);
Tailwind
colors: {
  custom: {
    50: '#a9c0f1',
    500: '#7fa6eb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6eb;
$custom-light: #a9c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6eb",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 235
  },
  "hsl": {
    "h": 218.333,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72429,
    "c": 0.10986,
    "h": 261.4
  },
  "luminance": 0.37783
}

Semantic roles & 50–950 ramp

primary
#7FA6EB
secondary
#F1E7D5
accent
#8E10D5
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6EB

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

Preview Lab → · Contrast checker → · Palette generator →

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