#7FAAFA#7FAAFA

#7FAAFA is a light, vivid blue. Relative luminance 0.402; OKLCH L 74.0% C 0.126 H 262.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7FAAFA
RGBrgb(127, 170, 250)
HSLhsl(219, 92%, 74%)
HSVhsv(219, 49%, 98%)
CMYKcmyk(49.2%, 32%, 0%, 2%)
CIE-LABlab(69.58, 6.97, -44.25)
CIE-LCHlch(69.58, 44.80, 278.95°)
OKLaboklab(73.99% -0.0171 -0.1244)
OKLCHoklch(73.99% 0.126 262.2)
XYZxyz(40.3767, 40.1608, 96.0481)
Luminance0.4016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAAFA #FACF7F
analogous
#7FE8FA #7FAAFA #927FFA
triadic
#7FAAFA #FA7FAA #AAFA7F
tetradic
#7FAAFA #FA7FE8 #FACF7F #7FFA92
square
#7FAAFA #FA7FE8 #FACF7F #7FFA92
split-complementary
#7FAAFA #FA927F #E8FA7F
monochromatic
#0A5CF5 #4483F8 #7FAAFA #BAD1FC #E2EBFE

Accessibility & contrast

On white

2.32
#7FAAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#7FAAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAAFA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAAFA#FFFFFF#000000##000000
##7FAAFA1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#48BBC7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7faafa;
/* rgb */ color: rgb(127, 170, 250);
/* oklch */ color: oklch(74.0% 0.126 262.2);
Tailwind
colors: {
  custom: {
    50: '#aac3fc',
    500: '#7faafa',
    950: '#000000',
  },
}
SCSS
$custom: #7faafa;
$custom-light: #aac3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7faafa",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 250
  },
  "hsl": {
    "h": 219.024,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73989,
    "c": 0.12562,
    "h": 262.2
  },
  "luminance": 0.40164
}

Semantic roles & 50–950 ramp

primary
#7FAAFA
secondary
#F6EAD5
accent
#9500E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FAAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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