#7FA7FC#7FA7FC

#7FA7FC is a light, vivid blue. Relative luminance 0.392; OKLCH L 73.5% C 0.132 H 264.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7FA7FC
RGBrgb(127, 167, 252)
HSLhsl(221, 95%, 74%)
HSVhsv(221, 50%, 99%)
CMYKcmyk(49.6%, 33.7%, 0%, 1.2%)
CIE-LABlab(68.88, 9.27, -46.45)
CIE-LCHlch(68.88, 47.36, 281.28°)
OKLaboklab(73.47% -0.0132 -0.1308)
OKLCHoklch(73.47% 0.132 264.3)
XYZxyz(40.1360, 39.1750, 97.5232)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7FC #FCD47F
analogous
#7FE6FC #7FA7FC #967FFC
triadic
#7FA7FC #FC7FA7 #A7FC7F
tetradic
#7FA7FC #FC7FE6 #FCD47F #7FFC96
square
#7FA7FC #FC7FE6 #FCD47F #7FFC96
split-complementary
#7FA7FC #FC967F #E6FC7F
monochromatic
#0755F9 #437EFB #7FA7FC #BBD0FD #E1EAFE

Accessibility & contrast

On white

2.38
#7FA7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#7FA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7FC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7FC#FFFFFF#000000##000000
##7FA7FC1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#78A3FA
Tritanopia (blue-blind)
#47B9C6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fa7fc;
/* rgb */ color: rgb(127, 167, 252);
/* oklch */ color: oklch(73.5% 0.132 264.3);
Tailwind
colors: {
  custom: {
    50: '#aac0fd',
    500: '#7fa7fc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7fc;
$custom-light: #aac0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7fc",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 220.8,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73469,
    "c": 0.1315,
    "h": 264.3
  },
  "luminance": 0.39178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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