#7FA6F9#7FA6F9

#7FA6F9 is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.1% C 0.129 H 264.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7FA6F9
RGBrgb(127, 166, 249)
HSLhsl(221, 91%, 74%)
HSVhsv(221, 49%, 98%)
CMYKcmyk(49%, 33.3%, 0%, 2.4%)
CIE-LABlab(68.48, 8.95, -45.45)
CIE-LCHlch(68.48, 46.32, 281.14°)
OKLaboklab(73.11% -0.0128 -0.1279)
OKLCHoklch(73.11% 0.129 264.3)
XYZxyz(39.4819, 38.6214, 94.9784)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6F9 #F9D27F
analogous
#7FE3F9 #7FA6F9 #957FF9
triadic
#7FA6F9 #F97FA6 #A6F97F
tetradic
#7FA6F9 #F97FE3 #F9D27F #7FF995
square
#7FA6F9 #F97FE3 #F9D27F #7FF995
split-complementary
#7FA6F9 #F9957F #E3F97F
monochromatic
#0B55F2 #457DF6 #7FA6F9 #B9CFFC #E2EBFE

Accessibility & contrast

On white

2.41
#7FA6F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#7FA6F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6F9
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6F9#FFFFFF#000000##000000
##7FA6F91.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFC
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#4AB8C4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa6f9;
/* rgb */ color: rgb(127, 166, 249);
/* oklch */ color: oklch(73.1% 0.129 264.3);
Tailwind
colors: {
  custom: {
    50: '#aac0fb',
    500: '#7fa6f9',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6f9;
$custom-light: #aac0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6f9",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 249
  },
  "hsl": {
    "h": 220.82,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73113,
    "c": 0.12857,
    "h": 264.3
  },
  "luminance": 0.38624
}

Semantic roles & 50–950 ramp

primary
#7FA6F9
secondary
#F6EBD5
accent
#9C00E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6F9

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

Preview Lab → · Contrast checker → · Palette generator →

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