#7FA4FF#7FA4FF

#7FA4FF is a light, vivid blue. Relative luminance 0.383; OKLCH L 73.0% C 0.139 H 266.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7FA4FF
RGBrgb(127, 164, 255)
HSLhsl(223, 100%, 75%)
HSVhsv(223, 50%, 100%)
CMYKcmyk(50.2%, 35.7%, 0%, 0%)
CIE-LABlab(68.23, 11.87, -49.10)
CIE-LCHlch(68.23, 50.52, 283.59°)
OKLaboklab(73.01% -0.0091 -0.1386)
OKLCHoklch(73.01% 0.139 266.3)
XYZxyz(40.0719, 38.2802, 99.8656)
Luminance0.3828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4FF #FFDA7F
analogous
#7FE4FF #7FA4FF #9A7FFF
triadic
#7FA4FF #FF7FA4 #A4FF7F
tetradic
#7FA4FF #FF7FE4 #FFDA7F #7FFF9A
square
#7FA4FF #FF7FE4 #FFDA7F #7FFF9A
split-complementary
#7FA4FF #FF9A7F #E4FF7F
monochromatic
#054DFF #4278FF #7FA4FF #BCD0FF #E0E9FF

Accessibility & contrast

On white

2.43
#7FA4FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#7FA4FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4FF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4FF#FFFFFF#000000##000000
##7FA4FF1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ADFF
Deuteranopia (green-blind)
#72A1FD
Tritanopia (blue-blind)
#45B8C6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa4ff;
/* rgb */ color: rgb(127, 164, 255);
/* oklch */ color: oklch(73.0% 0.139 266.3);
Tailwind
colors: {
  custom: {
    50: '#abbeff',
    500: '#7fa4ff',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4ff;
$custom-light: #abbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4ff",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 255
  },
  "hsl": {
    "h": 222.656,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.13888,
    "h": 266.3
  },
  "luminance": 0.38283
}

Semantic roles & 50–950 ramp

primary
#7FA4FF
secondary
#F7EDD4
accent
#A300E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA4FF

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

Preview Lab → · Contrast checker → · Palette generator →

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