#7FA4F7#7FA4F7

#7FA4F7 is a light, vivid blue. Relative luminance 0.378; OKLCH L 72.6% C 0.128 H 265.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7FA4F7
RGBrgb(127, 164, 247)
HSLhsl(222, 88%, 73%)
HSVhsv(222, 49%, 97%)
CMYKcmyk(48.6%, 33.6%, 0%, 3.1%)
CIE-LABlab(67.86, 9.50, -45.33)
CIE-LCHlch(67.86, 46.32, 281.84°)
OKLaboklab(72.6% -0.0109 -0.1276)
OKLCHoklch(72.6% 0.128 265.1)
XYZxyz(38.8109, 37.7758, 93.2240)
Luminance0.3778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4F7 #F7D27F
analogous
#7FE0F7 #7FA4F7 #967FF7
triadic
#7FA4F7 #F77FA4 #A4F77F
tetradic
#7FA4F7 #F77FE0 #F7D27F #7FF796
square
#7FA4F7 #F77FE0 #F7D27F #7FF796
split-complementary
#7FA4F7 #F7967F #E0F77F
monochromatic
#0F53ED #457BF3 #7FA4F7 #B9CDFB #E2EBFD

Accessibility & contrast

On white

2.45
#7FA4F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#7FA4F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4F7
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4F7#FFFFFF#000000##000000
##7FA4F71.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFA
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#4CB6C2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa4f7;
/* rgb */ color: rgb(127, 164, 247);
/* oklch */ color: oklch(72.6% 0.128 265.1);
Tailwind
colors: {
  custom: {
    50: '#aabefa',
    500: '#7fa4f7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4f7;
$custom-light: #aabefa;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4f7",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 247
  },
  "hsl": {
    "h": 221.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.726,
    "c": 0.12809,
    "h": 265.1
  },
  "luminance": 0.37778
}

Semantic roles & 50–950 ramp

primary
#7FA4F7
secondary
#F5ECD6
accent
#9E01E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA4F7

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

Preview Lab → · Contrast checker → · Palette generator →

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