#7FA8F7#7FA8F7

#7FA8F7 is a light, vivid blue. Relative luminance 0.392; OKLCH L 73.4% C 0.124 H 262.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7FA8F7
RGBrgb(127, 168, 247)
HSLhsl(220, 88%, 73%)
HSVhsv(220, 49%, 97%)
CMYKcmyk(48.6%, 32%, 0%, 3.1%)
CIE-LABlab(68.92, 7.22, -43.67)
CIE-LCHlch(68.92, 44.26, 279.39°)
OKLaboklab(73.43% -0.0156 -0.1228)
OKLCHoklch(73.43% 0.124 262.8)
XYZxyz(39.5380, 39.2300, 93.4664)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8F7 #F7CE7F
analogous
#7FE4F7 #7FA8F7 #927FF7
triadic
#7FA8F7 #F77FA8 #A8F77F
tetradic
#7FA8F7 #F77FE4 #F7CE7F #7FF792
square
#7FA8F7 #F77FE4 #F7CE7F #7FF792
split-complementary
#7FA8F7 #F7927F #E4F77F
monochromatic
#0F5BED #4581F3 #7FA8F7 #B9CFFB #E2EBFD

Accessibility & contrast

On white

2.37
#7FA8F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#7FA8F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8F7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8F7#FFFFFF#000000##000000
##7FA8F71.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAEFA
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#4BB9C4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fa8f7;
/* rgb */ color: rgb(127, 168, 247);
/* oklch */ color: oklch(73.4% 0.124 262.8);
Tailwind
colors: {
  custom: {
    50: '#aac1fa',
    500: '#7fa8f7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8f7;
$custom-light: #aac1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8f7",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 247
  },
  "hsl": {
    "h": 219.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73426,
    "c": 0.12374,
    "h": 262.8
  },
  "luminance": 0.39233
}

Semantic roles & 50–950 ramp

primary
#7FA8F7
secondary
#F5EAD6
accent
#9701E5
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA8F7

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

Preview Lab → · Contrast checker → · Palette generator →

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