#7FA6E7#7FA6E7

#7FA6E7 is a light, moderate blue. Relative luminance 0.376; OKLCH L 72.2% C 0.105 H 260.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7FA6E7
RGBrgb(127, 166, 231)
HSLhsl(218, 68%, 70%)
HSVhsv(218, 45%, 91%)
CMYKcmyk(45%, 28.1%, 0%, 9.4%)
CIE-LABlab(67.69, 3.72, -36.85)
CIE-LCHlch(67.69, 37.04, 275.77°)
OKLaboklab(72.24% -0.0175 -0.1031)
OKLCHoklch(72.24% 0.105 260.3)
XYZxyz(36.8077, 37.5517, 80.8945)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6E7 #E7C07F
analogous
#7FDAE7 #7FA6E7 #8C7FE7
triadic
#7FA6E7 #E77FA6 #A6E77F
tetradic
#7FA6E7 #E77FDA #E7C07F #7FE78C
square
#7FA6E7 #E77FDA #E7C07F #7FE78C
split-complementary
#7FA6E7 #E78C7F #DAE77F
monochromatic
#2562C6 #4B82DD #7FA6E7 #B3CAF1 #E5EDFA

Accessibility & contrast

On white

2.47
#7FA6E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#7FA6E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6E7
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6E7#FFFFFF#000000##000000
##7FA6E71.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAAEA
Deuteranopia (green-blind)
#82A0E6
Tritanopia (blue-blind)
#57B4BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa6e7;
/* rgb */ color: rgb(127, 166, 231);
/* oklch */ color: oklch(72.2% 0.105 260.3);
Tailwind
colors: {
  custom: {
    50: '#a8c0ef',
    500: '#7fa6e7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6e7;
$custom-light: #a8c0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6e7",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 231
  },
  "hsl": {
    "h": 217.5,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72241,
    "c": 0.10454,
    "h": 260.3
  },
  "luminance": 0.37554
}

Semantic roles & 50–950 ramp

primary
#7FA6E7
secondary
#EFE5D2
accent
#8A15D0
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA6E7

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

Preview Lab → · Contrast checker → · Palette generator →

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