#7FA8FA#7FA8FA

#7FA8FA is a light, vivid blue. Relative luminance 0.394; OKLCH L 73.6% C 0.128 H 263.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7FA8FA
RGBrgb(127, 168, 250)
HSLhsl(220, 92%, 74%)
HSVhsv(220, 49%, 98%)
CMYKcmyk(49.2%, 32.8%, 0%, 2%)
CIE-LABlab(69.05, 8.11, -45.09)
CIE-LCHlch(69.05, 45.81, 280.19°)
OKLaboklab(73.58% -0.0148 -0.1269)
OKLCHoklch(73.58% 0.128 263.3)
XYZxyz(40.0046, 39.4167, 95.9241)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8FA #FAD17F
analogous
#7FE6FA #7FA8FA #947FFA
triadic
#7FA8FA #FA7FA8 #A8FA7F
tetradic
#7FA8FA #FA7FE6 #FAD17F #7FFA94
square
#7FA8FA #FA7FE6 #FAD17F #7FFA94
split-complementary
#7FA8FA #FA947F #E6FA7F
monochromatic
#0A58F5 #4480F8 #7FA8FA #BAD0FC #E2EBFE

Accessibility & contrast

On white

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

On black

8.88
#7FA8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8FA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8FA#FFFFFF#000000##000000
##7FA8FA1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFD
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#48BAC6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fa8fa;
/* rgb */ color: rgb(127, 168, 250);
/* oklch */ color: oklch(73.6% 0.128 263.3);
Tailwind
colors: {
  custom: {
    50: '#aac1fc',
    500: '#7fa8fa',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8fa;
$custom-light: #aac1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8fa",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 220,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73575,
    "c": 0.12774,
    "h": 263.3
  },
  "luminance": 0.39419
}

Semantic roles & 50–950 ramp

primary
#7FA8FA
secondary
#F6EBD5
accent
#9900E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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