#7FA6FB#7FA6FB

#7FA6FB is a light, vivid blue. Relative luminance 0.387; OKLCH L 73.2% C 0.131 H 264.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7FA6FB
RGBrgb(127, 166, 251)
HSLhsl(221, 94%, 74%)
HSVhsv(221, 49%, 98%)
CMYKcmyk(49.4%, 33.9%, 0%, 1.6%)
CIE-LABlab(68.57, 9.54, -46.39)
CIE-LCHlch(68.57, 47.36, 281.62°)
OKLaboklab(73.21% -0.0123 -0.1307)
OKLCHoklch(73.21% 0.131 264.6)
XYZxyz(39.7955, 38.7468, 96.6300)
Luminance0.3875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6FB #FBD47F
analogous
#7FE4FB #7FA6FB #967FFB
triadic
#7FA6FB #FB7FA6 #A6FB7F
tetradic
#7FA6FB #FB7FE4 #FBD47F #7FFB96
square
#7FA6FB #FB7FE4 #FBD47F #7FFB96
split-complementary
#7FA6FB #FB967F #E4FB7F
monochromatic
#0853F7 #447DF9 #7FA6FB #BACFFD #E1EAFE

Accessibility & contrast

On white

2.40
#7FA6FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#7FA6FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6FB
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6FB#FFFFFF#000000##000000
##7FA6FB1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#48B8C5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa6fb;
/* rgb */ color: rgb(127, 166, 251);
/* oklch */ color: oklch(73.2% 0.131 264.6);
Tailwind
colors: {
  custom: {
    50: '#aac0fd',
    500: '#7fa6fb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6fb;
$custom-light: #aac0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6fb",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 251
  },
  "hsl": {
    "h": 221.129,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.13126,
    "h": 264.6
  },
  "luminance": 0.38749
}

Semantic roles & 50–950 ramp

primary
#7FA6FB
secondary
#F6ECD5
accent
#9D00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6FB

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

Preview Lab → · Contrast checker → · Palette generator →

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