#7FA6FE#7FA6FE

#7FA6FE is a light, vivid blue. Relative luminance 0.389; OKLCH L 73.4% C 0.135 H 265.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7FA6FE
RGBrgb(127, 166, 254)
HSLhsl(222, 98%, 75%)
HSVhsv(222, 50%, 100%)
CMYKcmyk(50%, 34.6%, 0%, 0.4%)
CIE-LABlab(68.71, 10.43, -47.80)
CIE-LCHlch(68.71, 48.93, 282.31°)
OKLaboklab(73.37% -0.0115 -0.1348)
OKLCHoklch(73.37% 0.135 265.1)
XYZxyz(40.2721, 38.9375, 99.1403)
Luminance0.3894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6FE #FED77F
analogous
#7FE5FE #7FA6FE #987FFE
triadic
#7FA6FE #FE7FA6 #A6FE7F
tetradic
#7FA6FE #FE7FE5 #FED77F #7FFE98
square
#7FA6FE #FE7FE5 #FED77F #7FFE98
split-complementary
#7FA6FE #FE987F #E5FE7F
monochromatic
#0652FD #427CFE #7FA6FE #BCD0FE #E1EAFF

Accessibility & contrast

On white

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

On black

8.79
#7FA6FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6FE
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6FE#FFFFFF#000000##000000
##7FA6FE1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#45B9C6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fa6fe;
/* rgb */ color: rgb(127, 166, 254);
/* oklch */ color: oklch(73.4% 0.135 265.1);
Tailwind
colors: {
  custom: {
    50: '#abc0ff',
    500: '#7fa6fe',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6fe;
$custom-light: #abc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6fe",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 254
  },
  "hsl": {
    "h": 221.575,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73366,
    "c": 0.13528,
    "h": 265.1
  },
  "luminance": 0.3894
}

Semantic roles & 50–950 ramp

primary
#7FA6FE
secondary
#F7ECD4
accent
#9F00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA6FE

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

Preview Lab → · Contrast checker → · Palette generator →

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