#7FAAF7#7FAAF7

#7FAAF7 is a light, vivid blue. Relative luminance 0.400; OKLCH L 73.8% C 0.122 H 261.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7FAAF7
RGBrgb(127, 170, 247)
HSLhsl(219, 88%, 73%)
HSVhsv(219, 49%, 97%)
CMYKcmyk(48.6%, 31.2%, 0%, 3.1%)
CIE-LABlab(69.45, 6.09, -42.83)
CIE-LCHlch(69.45, 43.26, 278.09°)
OKLaboklab(73.84% -0.0179 -0.1203)
OKLCHoklch(73.84% 0.122 261.5)
XYZxyz(39.9100, 39.9742, 93.5904)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAAF7 #F7CC7F
analogous
#7FE6F7 #7FAAF7 #907FF7
triadic
#7FAAF7 #F77FAA #AAF77F
tetradic
#7FAAF7 #F77FE6 #F7CC7F #7FF790
square
#7FAAF7 #F77FE6 #F7CC7F #7FF790
split-complementary
#7FAAF7 #F7907F #E6F77F
monochromatic
#0F5EED #4584F3 #7FAAF7 #B9D0FB #E2ECFD

Accessibility & contrast

On white

2.33
#7FAAF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#7FAAF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAAF7
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAAF7#FFFFFF#000000##000000
##7FAAF71.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0FA
Deuteranopia (green-blind)
#7FA5F5
Tritanopia (blue-blind)
#4ABBC6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7faaf7;
/* rgb */ color: rgb(127, 170, 247);
/* oklch */ color: oklch(73.8% 0.122 261.5);
Tailwind
colors: {
  custom: {
    50: '#aac3fa',
    500: '#7faaf7',
    950: '#000000',
  },
}
SCSS
$custom: #7faaf7;
$custom-light: #aac3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7faaf7",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 247
  },
  "hsl": {
    "h": 218.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73842,
    "c": 0.12165,
    "h": 261.5
  },
  "luminance": 0.39977
}

Semantic roles & 50–950 ramp

primary
#7FAAF7
secondary
#F5EAD6
accent
#9301E5
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FAAF7

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

Preview Lab → · Contrast checker → · Palette generator →

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