#7FA6FF#7FA6FF

#7FA6FF is a light, vivid blue. Relative luminance 0.390; OKLCH L 73.4% C 0.137 H 265.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7FA6FF
RGBrgb(127, 166, 255)
HSLhsl(222, 100%, 75%)
HSVhsv(222, 50%, 100%)
CMYKcmyk(50.2%, 34.9%, 0%, 0%)
CIE-LABlab(68.75, 10.73, -48.27)
CIE-LCHlch(68.75, 49.45, 282.53°)
OKLaboklab(73.42% -0.0113 -0.1362)
OKLCHoklch(73.42% 0.137 265.2)
XYZxyz(40.4327, 39.0017, 99.9858)
Luminance0.3900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6FF #FFD87F
analogous
#7FE6FF #7FA6FF #987FFF
triadic
#7FA6FF #FF7FA6 #A6FF7F
tetradic
#7FA6FF #FF7FE6 #FFD87F #7FFF98
square
#7FA6FF #FF7FE6 #FFD87F #7FFF98
split-complementary
#7FA6FF #FF987F #E6FF7F
monochromatic
#0551FF #427BFF #7FA6FF #BCD1FF #E0EAFF

Accessibility & contrast

On white

2.39
#7FA6FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#7FA6FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6FF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6FF#FFFFFF#000000##000000
##7FA6FF1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#75A2FD
Tritanopia (blue-blind)
#44B9C7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fa6ff;
/* rgb */ color: rgb(127, 166, 255);
/* oklch */ color: oklch(73.4% 0.137 265.2);
Tailwind
colors: {
  custom: {
    50: '#abc0ff',
    500: '#7fa6ff',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6ff;
$custom-light: #abc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6ff",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 255
  },
  "hsl": {
    "h": 221.719,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73418,
    "c": 0.13663,
    "h": 265.2
  },
  "luminance": 0.39004
}

Semantic roles & 50–950 ramp

primary
#7FA6FF
secondary
#F7ECD4
accent
#A000E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA6FF

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

Preview Lab → · Contrast checker → · Palette generator →

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