#7FA6FC#7FA6FC

#7FA6FC is a light, vivid blue. Relative luminance 0.388; OKLCH L 73.3% C 0.133 H 264.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7FA6FC
RGBrgb(127, 166, 252)
HSLhsl(221, 95%, 74%)
HSVhsv(221, 50%, 99%)
CMYKcmyk(49.6%, 34.1%, 0%, 1.2%)
CIE-LABlab(68.61, 9.84, -46.86)
CIE-LCHlch(68.61, 47.88, 281.85°)
OKLaboklab(73.26% -0.012 -0.1321)
OKLCHoklch(73.26% 0.133 264.8)
XYZxyz(39.9535, 38.8100, 97.4623)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6FC #FCD57F
analogous
#7FE5FC #7FA6FC #977FFC
triadic
#7FA6FC #FC7FA6 #A6FC7F
tetradic
#7FA6FC #FC7FE5 #FCD57F #7FFC97
square
#7FA6FC #FC7FE5 #FCD57F #7FFC97
split-complementary
#7FA6FC #FC977F #E5FC7F
monochromatic
#0753F9 #437CFB #7FA6FC #BBD0FD #E1EAFE

Accessibility & contrast

On white

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

On black

8.76
#7FA6FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6FC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6FC#FFFFFF#000000##000000
##7FA6FC1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#47B8C5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa6fc;
/* rgb */ color: rgb(127, 166, 252);
/* oklch */ color: oklch(73.3% 0.133 264.8);
Tailwind
colors: {
  custom: {
    50: '#aac0fd',
    500: '#7fa6fc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6fc;
$custom-light: #aac0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6fc",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 252
  },
  "hsl": {
    "h": 221.28,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73264,
    "c": 0.13261,
    "h": 264.8
  },
  "luminance": 0.38813
}

Semantic roles & 50–950 ramp

primary
#7FA6FC
secondary
#F7ECD4
accent
#9E00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA6FC

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

Preview Lab → · Contrast checker → · Palette generator →

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