#7FA6EA#7FA6EA

#7FA6EA is a light, moderate blue. Relative luminance 0.377; OKLCH L 72.4% C 0.109 H 261.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7FA6EA
RGBrgb(127, 166, 234)
HSLhsl(218, 72%, 71%)
HSVhsv(218, 46%, 92%)
CMYKcmyk(45.7%, 29.1%, 0%, 8.2%)
CIE-LABlab(67.82, 4.58, -38.30)
CIE-LCHlch(67.82, 38.57, 276.82°)
OKLaboklab(72.38% -0.0167 -0.1072)
OKLCHoklch(72.38% 0.109 261.1)
XYZxyz(37.2350, 37.7226, 83.1451)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6EA #EAC37F
analogous
#7FDBEA #7FA6EA #8D7FEA
triadic
#7FA6EA #EA7FA6 #A6EA7F
tetradic
#7FA6EA #EA7FDB #EAC37F #7FEA8D
square
#7FA6EA #EA7FDB #EAC37F #7FEA8D
split-complementary
#7FA6EA #EA8D7F #DBEA7F
monochromatic
#2260CD #4A81E1 #7FA6EA #B4CBF3 #E5EDFB

Accessibility & contrast

On white

2.46
#7FA6EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#7FA6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6EA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6EA#FFFFFF#000000##000000
##7FA6EA1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#55B5BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa6ea;
/* rgb */ color: rgb(127, 166, 234);
/* oklch */ color: oklch(72.4% 0.109 261.1);
Tailwind
colors: {
  custom: {
    50: '#a9c0f1',
    500: '#7fa6ea',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6ea;
$custom-light: #a9c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6ea",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 218.131,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72381,
    "c": 0.10852,
    "h": 261.1
  },
  "luminance": 0.37725
}

Semantic roles & 50–950 ramp

primary
#7FA6EA
secondary
#F1E6D4
accent
#8D12D4
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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