#7FA4FC#7FA4FC

#7FA4FC is a light, vivid blue. Relative luminance 0.381; OKLCH L 72.9% C 0.135 H 265.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7FA4FC
RGBrgb(127, 164, 252)
HSLhsl(222, 95%, 74%)
HSVhsv(222, 50%, 99%)
CMYKcmyk(49.6%, 34.9%, 0%, 1.2%)
CIE-LABlab(68.09, 10.98, -47.69)
CIE-LCHlch(68.09, 48.94, 282.96°)
OKLaboklab(72.86% -0.0097 -0.1345)
OKLCHoklch(72.86% 0.135 265.9)
XYZxyz(39.5928, 38.0886, 97.3421)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4FC #FCD77F
analogous
#7FE3FC #7FA4FC #997FFC
triadic
#7FA4FC #FC7FA4 #A4FC7F
tetradic
#7FA4FC #FC7FE3 #FCD77F #7FFC99
square
#7FA4FC #FC7FE3 #FCD77F #7FFC99
split-complementary
#7FA4FC #FC997F #E3FC7F
monochromatic
#074FF9 #4379FB #7FA4FC #BBCFFD #E1EAFE

Accessibility & contrast

On white

2.44
#7FA4FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#7FA4FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4FC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4FC#FFFFFF#000000##000000
##7FA4FC1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#48B7C4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa4fc;
/* rgb */ color: rgb(127, 164, 252);
/* oklch */ color: oklch(72.9% 0.135 265.9);
Tailwind
colors: {
  custom: {
    50: '#aabefe',
    500: '#7fa4fc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4fc;
$custom-light: #aabefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4fc",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 252
  },
  "hsl": {
    "h": 222.24,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72855,
    "c": 0.13483,
    "h": 265.9
  },
  "luminance": 0.38091
}

Semantic roles & 50–950 ramp

primary
#7FA4FC
secondary
#F7ECD4
accent
#A200E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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