#7FA8FB#7FA8FB

#7FA8FB is a light, vivid blue. Relative luminance 0.395; OKLCH L 73.6% C 0.129 H 263.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7FA8FB
RGBrgb(127, 168, 251)
HSLhsl(220, 94%, 74%)
HSVhsv(220, 49%, 98%)
CMYKcmyk(49.4%, 33.1%, 0%, 1.6%)
CIE-LABlab(69.10, 8.40, -45.56)
CIE-LCHlch(69.10, 46.33, 280.45°)
OKLaboklab(73.63% -0.0146 -0.1283)
OKLCHoklch(73.63% 0.129 263.5)
XYZxyz(40.1618, 39.4796, 96.7521)
Luminance0.3948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8FB #FBD27F
analogous
#7FE6FB #7FA8FB #947FFB
triadic
#7FA8FB #FB7FA8 #A8FB7F
tetradic
#7FA8FB #FB7FE6 #FBD27F #7FFB94
square
#7FA8FB #FB7FE6 #FBD27F #7FFB94
split-complementary
#7FA8FB #FB947F #E6FB7F
monochromatic
#0857F7 #4480F9 #7FA8FB #BAD0FD #E1EBFE

Accessibility & contrast

On white

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

On black

8.90
#7FA8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8FB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8FB#FFFFFF#000000##000000
##7FA8FB1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFE
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#48BAC6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fa8fb;
/* rgb */ color: rgb(127, 168, 251);
/* oklch */ color: oklch(73.6% 0.129 263.5);
Tailwind
colors: {
  custom: {
    50: '#aac1fd',
    500: '#7fa8fb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8fb;
$custom-light: #aac1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8fb",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 220.161,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.12908,
    "h": 263.5
  },
  "luminance": 0.39482
}

Semantic roles & 50–950 ramp

primary
#7FA8FB
secondary
#F6EBD5
accent
#9A00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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