#7FAAFE#7FAAFE

#7FAAFE is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.2% C 0.131 H 262.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7FAAFE
RGBrgb(127, 170, 254)
HSLhsl(220, 98%, 75%)
HSVhsv(220, 50%, 100%)
CMYKcmyk(50%, 33.1%, 0%, 0.4%)
CIE-LABlab(69.76, 8.15, -46.14)
CIE-LCHlch(69.76, 46.85, 280.02°)
OKLaboklab(74.19% -0.0161 -0.1299)
OKLCHoklch(74.19% 0.131 262.9)
XYZxyz(41.0106, 40.4144, 99.3864)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAAFE #FED37F
analogous
#7FEAFE #7FAAFE #947FFE
triadic
#7FAAFE #FE7FAA #AAFE7F
tetradic
#7FAAFE #FE7FEA #FED37F #7FFE94
square
#7FAAFE #FE7FEA #FED37F #7FFE94
split-complementary
#7FAAFE #FE947F #EAFE7F
monochromatic
#0659FD #4282FE #7FAAFE #BCD2FE #E1EBFF

Accessibility & contrast

On white

2.31
#7FAAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#7FAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAAFE
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAAFE#FFFFFF#000000##000000
##7FAAFE1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#44BCC8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7faafe;
/* rgb */ color: rgb(127, 170, 254);
/* oklch */ color: oklch(74.2% 0.131 262.9);
Tailwind
colors: {
  custom: {
    50: '#abc3ff',
    500: '#7faafe',
    950: '#000000',
  },
}
SCSS
$custom: #7faafe;
$custom-light: #abc3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7faafe",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 219.685,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74187,
    "c": 0.13092,
    "h": 262.9
  },
  "luminance": 0.40417
}

Semantic roles & 50–950 ramp

primary
#7FAAFE
secondary
#F7EBD4
accent
#9800E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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