#7FA6FA#7FA6FA

#7FA6FA is a light, vivid blue. Relative luminance 0.387; OKLCH L 73.2% C 0.130 H 264.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7FA6FA
RGBrgb(127, 166, 250)
HSLhsl(221, 92%, 74%)
HSVhsv(221, 49%, 98%)
CMYKcmyk(49.2%, 33.6%, 0%, 2%)
CIE-LABlab(68.52, 9.24, -45.92)
CIE-LCHlch(68.52, 46.84, 281.38°)
OKLaboklab(73.16% -0.0125 -0.1293)
OKLCHoklch(73.16% 0.13 264.5)
XYZxyz(39.6382, 38.6839, 95.8020)
Luminance0.3869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6FA #FAD37F
analogous
#7FE3FA #7FA6FA #967FFA
triadic
#7FA6FA #FA7FA6 #A6FA7F
tetradic
#7FA6FA #FA7FE3 #FAD37F #7FFA96
square
#7FA6FA #FA7FE3 #FAD37F #7FFA96
split-complementary
#7FA6FA #FA967F #E3FA7F
monochromatic
#0A54F5 #447DF8 #7FA6FA #BACFFC #E2EBFE

Accessibility & contrast

On white

2.40
#7FA6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#7FA6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6FA
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6FA#FFFFFF#000000##000000
##7FA6FA1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFD
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#49B8C4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa6fa;
/* rgb */ color: rgb(127, 166, 250);
/* oklch */ color: oklch(73.2% 0.130 264.5);
Tailwind
colors: {
  custom: {
    50: '#aac0fc',
    500: '#7fa6fa',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6fa;
$custom-light: #aac0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6fa",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 220.976,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73163,
    "c": 0.12992,
    "h": 264.5
  },
  "luminance": 0.38687
}

Semantic roles & 50–950 ramp

primary
#7FA6FA
secondary
#F6ECD5
accent
#9D00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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