#7FA5FC#7FA5FC

#7FA5FC is a light, vivid blue. Relative luminance 0.385; OKLCH L 73.1% C 0.134 H 265.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7FA5FC
RGBrgb(127, 165, 252)
HSLhsl(222, 95%, 74%)
HSVhsv(222, 50%, 99%)
CMYKcmyk(49.6%, 34.5%, 0%, 1.2%)
CIE-LABlab(68.35, 10.41, -47.28)
CIE-LCHlch(68.35, 48.41, 282.41°)
OKLaboklab(73.06% -0.0109 -0.1333)
OKLCHoklch(73.06% 0.134 265.3)
XYZxyz(39.7724, 38.4479, 97.4020)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5FC #FCD67F
analogous
#7FE4FC #7FA5FC #987FFC
triadic
#7FA5FC #FC7FA5 #A5FC7F
tetradic
#7FA5FC #FC7FE4 #FCD67F #7FFC98
square
#7FA5FC #FC7FE4 #FCD67F #7FFC98
split-complementary
#7FA5FC #FC987F #E4FC7F
monochromatic
#0751F9 #437BFB #7FA5FC #BBCFFD #E1EAFE

Accessibility & contrast

On white

2.42
#7FA5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#7FA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5FC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5FC#FFFFFF#000000##000000
##7FA5FC1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#76A1FA
Tritanopia (blue-blind)
#47B8C5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa5fc;
/* rgb */ color: rgb(127, 165, 252);
/* oklch */ color: oklch(73.1% 0.134 265.3);
Tailwind
colors: {
  custom: {
    50: '#aabffe',
    500: '#7fa5fc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5fc;
$custom-light: #aabffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5fc",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 221.76,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73059,
    "c": 0.13371,
    "h": 265.3
  },
  "luminance": 0.38451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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