#7FA6EE#7FA6EE

#7FA6EE is a light, moderate blue. Relative luminance 0.380; OKLCH L 72.6% C 0.114 H 262.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7FA6EE
RGBrgb(127, 166, 238)
HSLhsl(219, 77%, 72%)
HSVhsv(219, 47%, 93%)
CMYKcmyk(46.6%, 30.3%, 0%, 6.7%)
CIE-LABlab(67.99, 5.73, -40.22)
CIE-LCHlch(67.99, 40.62, 278.11°)
OKLaboklab(72.57% -0.0156 -0.1128)
OKLCHoklch(72.57% 0.114 262.1)
XYZxyz(37.8162, 37.9551, 86.2057)
Luminance0.3796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6EE #EEC77F
analogous
#7FDEEE #7FA6EE #907FEE
triadic
#7FA6EE #EE7FA6 #A6EE7F
tetradic
#7FA6EE #EE7FDE #EEC77F #7FEE90
square
#7FA6EE #EE7FDE #EEC77F #7FEE90
split-complementary
#7FA6EE #EE907F #DEEE7F
monochromatic
#1C5ED6 #4980E7 #7FA6EE #B5CCF5 #E4ECFB

Accessibility & contrast

On white

2.44
#7FA6EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#7FA6EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6EE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6EE#FFFFFF#000000##000000
##7FA6EE1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF1
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#52B5C0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa6ee;
/* rgb */ color: rgb(127, 166, 238);
/* oklch */ color: oklch(72.6% 0.114 262.1);
Tailwind
colors: {
  custom: {
    50: '#a9c0f4',
    500: '#7fa6ee',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6ee;
$custom-light: #a9c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6ee",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 238
  },
  "hsl": {
    "h": 218.919,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72572,
    "c": 0.11384,
    "h": 262.1
  },
  "luminance": 0.37958
}

Semantic roles & 50–950 ramp

primary
#7FA6EE
secondary
#F3E9D6
accent
#910DD9
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6EE

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

Preview Lab → · Contrast checker → · Palette generator →

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