#7FA8FF#7FA8FF

#7FA8FF is a light, vivid blue. Relative luminance 0.397; OKLCH L 73.8% C 0.134 H 264.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7FA8FF
RGBrgb(127, 168, 255)
HSLhsl(221, 100%, 75%)
HSVhsv(221, 50%, 100%)
CMYKcmyk(50.2%, 34.1%, 0%, 0%)
CIE-LABlab(69.28, 9.59, -47.44)
CIE-LCHlch(69.28, 48.40, 281.42°)
OKLaboklab(73.83% -0.0136 -0.1337)
OKLCHoklch(73.83% 0.134 264.2)
XYZxyz(40.7990, 39.7345, 100.1080)
Luminance0.3974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8FF #FFD67F
analogous
#7FE8FF #7FA8FF #967FFF
triadic
#7FA8FF #FF7FA8 #A8FF7F
tetradic
#7FA8FF #FF7FE8 #FFD67F #7FFF96
square
#7FA8FF #FF7FE8 #FFD67F #7FFF96
split-complementary
#7FA8FF #FF967F #E8FF7F
monochromatic
#0555FF #427EFF #7FA8FF #BCD2FF #E0EAFF

Accessibility & contrast

On white

2.35
#7FA8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#7FA8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8FF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8FF#FFFFFF#000000##000000
##7FA8FF1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#78A4FD
Tritanopia (blue-blind)
#44BBC8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fa8ff;
/* rgb */ color: rgb(127, 168, 255);
/* oklch */ color: oklch(73.8% 0.134 264.2);
Tailwind
colors: {
  custom: {
    50: '#abc1ff',
    500: '#7fa8ff',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8ff;
$custom-light: #abc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8ff",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 220.781,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73827,
    "c": 0.13442,
    "h": 264.2
  },
  "luminance": 0.39737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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