#7FA7FF#7FA7FF

#7FA7FF is a light, vivid blue. Relative luminance 0.394; OKLCH L 73.6% C 0.136 H 264.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7FA7FF
RGBrgb(127, 167, 255)
HSLhsl(221, 100%, 75%)
HSVhsv(221, 50%, 100%)
CMYKcmyk(50.2%, 34.5%, 0%, 0%)
CIE-LABlab(69.02, 10.16, -47.86)
CIE-LCHlch(69.02, 48.92, 281.98°)
OKLaboklab(73.62% -0.0124 -0.1349)
OKLCHoklch(73.62% 0.136 264.7)
XYZxyz(40.6151, 39.3667, 100.0467)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7FF #FFD77F
analogous
#7FE7FF #7FA7FF #977FFF
triadic
#7FA7FF #FF7FA7 #A7FF7F
tetradic
#7FA7FF #FF7FE7 #FFD77F #7FFF97
square
#7FA7FF #FF7FE7 #FFD77F #7FFF97
split-complementary
#7FA7FF #FF977F #E7FF7F
monochromatic
#0553FF #427DFF #7FA7FF #BCD1FF #E0EAFF

Accessibility & contrast

On white

2.37
#7FA7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#7FA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7FF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7FF#FFFFFF#000000##000000
##7FA7FF1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#76A3FD
Tritanopia (blue-blind)
#44BAC7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fa7ff;
/* rgb */ color: rgb(127, 167, 255);
/* oklch */ color: oklch(73.6% 0.136 264.7);
Tailwind
colors: {
  custom: {
    50: '#abc0ff',
    500: '#7fa7ff',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7ff;
$custom-light: #abc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7ff",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 221.25,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73622,
    "c": 0.13551,
    "h": 264.7
  },
  "luminance": 0.39369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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