#7FA1FF#7FA1FF

#7FA1FF is a light, vivid blue. Relative luminance 0.372; OKLCH L 72.4% C 0.142 H 267.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7FA1FF
RGBrgb(127, 161, 255)
HSLhsl(224, 100%, 75%)
HSVhsv(224, 50%, 100%)
CMYKcmyk(50.2%, 36.9%, 0%, 0%)
CIE-LABlab(67.44, 13.60, -50.34)
CIE-LCHlch(67.44, 52.14, 285.12°)
OKLaboklab(72.4% -0.0056 -0.1422)
OKLCHoklch(72.4% 0.142 267.7)
XYZxyz(39.5414, 37.2191, 99.6887)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1FF #FFDD7F
analogous
#7FE1FF #7FA1FF #9D7FFF
triadic
#7FA1FF #FF7FA1 #A1FF7F
tetradic
#7FA1FF #FF7FE1 #FFDD7F #7FFF9D
square
#7FA1FF #FF7FE1 #FFDD7F #7FFF9D
split-complementary
#7FA1FF #FF9D7F #E1FF7F
monochromatic
#0547FF #4274FF #7FA1FF #BCCEFF #E0E9FF

Accessibility & contrast

On white

2.49
#7FA1FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#7FA1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1FF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1FF#FFFFFF#000000##000000
##7FA1FF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#6E9FFD
Tritanopia (blue-blind)
#45B5C4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa1ff;
/* rgb */ color: rgb(127, 161, 255);
/* oklch */ color: oklch(72.4% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#abbcff',
    500: '#7fa1ff',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1ff;
$custom-light: #abbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1ff",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 224.063,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72403,
    "c": 0.14233,
    "h": 267.7
  },
  "luminance": 0.37222
}

Semantic roles & 50–950 ramp

primary
#7FA1FF
secondary
#F7EED4
accent
#A900E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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