#7FAAF2#7FAAF2

#7FAAF2 is a light, moderate blue. Relative luminance 0.397; OKLCH L 73.6% C 0.115 H 260.4°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7FAAF2
RGBrgb(127, 170, 242)
HSLhsl(218, 82%, 72%)
HSVhsv(218, 48%, 95%)
CMYKcmyk(47.5%, 29.8%, 0%, 5.1%)
CIE-LABlab(69.23, 4.63, -40.45)
CIE-LCHlch(69.23, 40.72, 276.53°)
OKLaboklab(73.6% -0.0192 -0.1134)
OKLCHoklch(73.6% 0.115 260.4)
XYZxyz(39.1488, 39.6697, 89.5813)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAAF2 #F2C77F
analogous
#7FE4F2 #7FAAF2 #8D7FF2
triadic
#7FAAF2 #F27FAA #AAF27F
tetradic
#7FAAF2 #F27FE4 #F2C77F #7FF28D
square
#7FAAF2 #F27FE4 #F2C77F #7FF28D
split-complementary
#7FAAF2 #F28D7F #E4F27F
monochromatic
#1762E0 #4785EC #7FAAF2 #B7CFF8 #E3EDFC

Accessibility & contrast

On white

2.35
#7FAAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#7FAAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAAF2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAAF2#FFFFFF#000000##000000
##7FAAF21.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#82A4F0
Tritanopia (blue-blind)
#4EBAC3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7faaf2;
/* rgb */ color: rgb(127, 170, 242);
/* oklch */ color: oklch(73.6% 0.115 260.4);
Tailwind
colors: {
  custom: {
    50: '#a9c3f6',
    500: '#7faaf2',
    950: '#000000',
  },
}
SCSS
$custom: #7faaf2;
$custom-light: #a9c3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7faaf2",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 242
  },
  "hsl": {
    "h": 217.565,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.736,
    "c": 0.11506,
    "h": 260.4
  },
  "luminance": 0.39672
}

Semantic roles & 50–950 ramp

primary
#7FAAF2
secondary
#F4E9D7
accent
#8E08DE
background
#FAFBFF
surface
#F4F7FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FAAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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