#7FA8FE#7FA8FE

#7FA8FE is a light, vivid blue. Relative luminance 0.397; OKLCH L 73.8% C 0.133 H 264.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7FA8FE
RGBrgb(127, 168, 254)
HSLhsl(221, 98%, 75%)
HSVhsv(221, 50%, 100%)
CMYKcmyk(50%, 33.9%, 0%, 0.4%)
CIE-LABlab(69.23, 9.29, -46.97)
CIE-LCHlch(69.23, 47.88, 281.19°)
OKLaboklab(73.78% -0.0138 -0.1324)
OKLCHoklch(73.78% 0.133 264)
XYZxyz(40.6385, 39.6702, 99.2624)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8FE #FED57F
analogous
#7FE8FE #7FA8FE #967FFE
triadic
#7FA8FE #FE7FA8 #A8FE7F
tetradic
#7FA8FE #FE7FE8 #FED57F #7FFE96
square
#7FA8FE #FE7FE8 #FED57F #7FFE96
split-complementary
#7FA8FE #FE967F #E8FE7F
monochromatic
#0655FD #427FFE #7FA8FE #BCD1FE #E1EAFF

Accessibility & contrast

On white

2.35
#7FA8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#7FA8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8FE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8FE#FFFFFF#000000##000000
##7FA8FE1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#78A4FC
Tritanopia (blue-blind)
#45BBC7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fa8fe;
/* rgb */ color: rgb(127, 168, 254);
/* oklch */ color: oklch(73.8% 0.133 264.0);
Tailwind
colors: {
  custom: {
    50: '#abc1ff',
    500: '#7fa8fe',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8fe;
$custom-light: #abc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8fe",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 220.63,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73776,
    "c": 0.13308,
    "h": 264
  },
  "luminance": 0.39673
}

Semantic roles & 50–950 ramp

primary
#7FA8FE
secondary
#F7ECD4
accent
#9B00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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