#7FAAF5#7FAAF5

#7FAAF5 is a light, moderate blue. Relative luminance 0.399; OKLCH L 73.7% C 0.119 H 261.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7FAAF5
RGBrgb(127, 170, 245)
HSLhsl(218, 86%, 73%)
HSVhsv(218, 48%, 96%)
CMYKcmyk(48.2%, 30.6%, 0%, 3.9%)
CIE-LABlab(69.36, 5.50, -41.88)
CIE-LCHlch(69.36, 42.24, 277.49°)
OKLaboklab(73.75% -0.0184 -0.1176)
OKLCHoklch(73.75% 0.119 261.1)
XYZxyz(39.6031, 39.8514, 91.9737)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAAF5 #F5CA7F
analogous
#7FE5F5 #7FAAF5 #8F7FF5
triadic
#7FAAF5 #F57FAA #AAF57F
tetradic
#7FAAF5 #F57FE5 #F5CA7F #7FF58F
square
#7FAAF5 #F57FE5 #F5CA7F #7FF58F
split-complementary
#7FAAF5 #F58F7F #E5F57F
monochromatic
#1260E8 #4684F1 #7FAAF5 #B8D0F9 #E3ECFD

Accessibility & contrast

On white

2.34
#7FAAF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#7FAAF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAAF5
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAAF5#FFFFFF#000000##000000
##7FAAF51.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAFF8
Deuteranopia (green-blind)
#80A4F3
Tritanopia (blue-blind)
#4CBAC5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7faaf5;
/* rgb */ color: rgb(127, 170, 245);
/* oklch */ color: oklch(73.7% 0.119 261.1);
Tailwind
colors: {
  custom: {
    50: '#aac3f8',
    500: '#7faaf5',
    950: '#000000',
  },
}
SCSS
$custom: #7faaf5;
$custom-light: #aac3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7faaf5",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 245
  },
  "hsl": {
    "h": 218.136,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73745,
    "c": 0.11902,
    "h": 261.1
  },
  "luminance": 0.39854
}

Semantic roles & 50–950 ramp

primary
#7FAAF5
secondary
#F5EAD6
accent
#9103E2
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FAAF5

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

Preview Lab → · Contrast checker → · Palette generator →

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