#7FAAF1#7FAAF1

#7FAAF1 is a light, moderate blue. Relative luminance 0.396; OKLCH L 73.6% C 0.114 H 260.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7FAAF1
RGBrgb(127, 170, 241)
HSLhsl(217, 80%, 72%)
HSVhsv(217, 47%, 95%)
CMYKcmyk(47.3%, 29.5%, 0%, 5.5%)
CIE-LABlab(69.19, 4.34, -39.97)
CIE-LCHlch(69.19, 40.21, 276.20°)
OKLaboklab(73.55% -0.0195 -0.1121)
OKLCHoklch(73.55% 0.114 260.1)
XYZxyz(38.9990, 39.6098, 88.7925)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAAF1 #F1C67F
analogous
#7FE3F1 #7FAAF1 #8D7FF1
triadic
#7FAAF1 #F17FAA #AAF17F
tetradic
#7FAAF1 #F17FE3 #F1C67F #7FF18D
square
#7FAAF1 #F17FE3 #F1C67F #7FF18D
split-complementary
#7FAAF1 #F18D7F #E3F17F
monochromatic
#1863DD #4885EB #7FAAF1 #B6CFF7 #E3EDFC

Accessibility & contrast

On white

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

On black

8.92
#7FAAF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAAF1
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAAF1#FFFFFF#000000##000000
##7FAAF11.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF4
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#4FB9C3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7faaf1;
/* rgb */ color: rgb(127, 170, 241);
/* oklch */ color: oklch(73.6% 0.114 260.1);
Tailwind
colors: {
  custom: {
    50: '#a9c3f6',
    500: '#7faaf1',
    950: '#000000',
  },
}
SCSS
$custom: #7faaf1;
$custom-light: #a9c3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7faaf1",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 241
  },
  "hsl": {
    "h": 217.368,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.11375,
    "h": 260.1
  },
  "luminance": 0.39612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FAAF1

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

Preview Lab → · Contrast checker → · Palette generator →

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