#7FA8FC#7FA8FC

#7FA8FC is a light, vivid blue. Relative luminance 0.395; OKLCH L 73.7% C 0.130 H 263.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7FA8FC
RGBrgb(127, 168, 252)
HSLhsl(220, 95%, 74%)
HSVhsv(220, 50%, 99%)
CMYKcmyk(49.6%, 33.3%, 0%, 1.2%)
CIE-LABlab(69.14, 8.70, -46.03)
CIE-LCHlch(69.14, 46.84, 280.70°)
OKLaboklab(73.68% -0.0143 -0.1296)
OKLCHoklch(73.68% 0.13 263.7)
XYZxyz(40.3199, 39.5428, 97.5845)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8FC #FCD37F
analogous
#7FE7FC #7FA8FC #957FFC
triadic
#7FA8FC #FC7FA8 #A8FC7F
tetradic
#7FA8FC #FC7FE7 #FCD37F #7FFC95
square
#7FA8FC #FC7FE7 #FCD37F #7FFC95
split-complementary
#7FA8FC #FC957F #E7FC7F
monochromatic
#0757F9 #437FFB #7FA8FC #BBD1FD #E1EBFE

Accessibility & contrast

On white

2.36
#7FA8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#7FA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8FC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8FC#FFFFFF#000000##000000
##7FA8FC1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#47BAC6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fa8fc;
/* rgb */ color: rgb(127, 168, 252);
/* oklch */ color: oklch(73.7% 0.130 263.7);
Tailwind
colors: {
  custom: {
    50: '#aac1fd',
    500: '#7fa8fc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8fc;
$custom-light: #aac1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8fc",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 220.32,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73675,
    "c": 0.13042,
    "h": 263.7
  },
  "luminance": 0.39546
}

Semantic roles & 50–950 ramp

primary
#7FA8FC
secondary
#F7EBD4
accent
#9A00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7FA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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