#7FA8EB#7FA8EB

#7FA8EB is a light, moderate blue. Relative luminance 0.385; OKLCH L 72.8% C 0.108 H 259.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7FA8EB
RGBrgb(127, 168, 235)
HSLhsl(217, 73%, 71%)
HSVhsv(217, 46%, 92%)
CMYKcmyk(46%, 28.5%, 0%, 7.8%)
CIE-LABlab(68.40, 3.74, -37.94)
CIE-LCHlch(68.40, 38.12, 275.63°)
OKLaboklab(72.85% -0.0188 -0.1062)
OKLCHoklch(72.85% 0.108 259.9)
XYZxyz(37.7455, 38.5130, 84.0260)
Luminance0.3851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8EB #EBC27F
analogous
#7FDEEB #7FA8EB #8C7FEB
triadic
#7FA8EB #EB7FA8 #A8EB7F
tetradic
#7FA8EB #EB7FDE #EBC27F #7FEB8C
square
#7FA8EB #EB7FDE #EBC27F #7FEB8C
split-complementary
#7FA8EB #EB8C7F #DEEB7F
monochromatic
#2063CF #4A84E3 #7FA8EB #B4CCF3 #E5EDFB

Accessibility & contrast

On white

2.41
#7FA8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#7FA8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8EB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8EB#FFFFFF#000000##000000
##7FA8EB1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEE
Deuteranopia (green-blind)
#83A2EA
Tritanopia (blue-blind)
#54B6C0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa8eb;
/* rgb */ color: rgb(127, 168, 235);
/* oklch */ color: oklch(72.8% 0.108 259.9);
Tailwind
colors: {
  custom: {
    50: '#a9c1f1',
    500: '#7fa8eb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8eb;
$custom-light: #a9c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8eb",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 217.222,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72849,
    "c": 0.10784,
    "h": 259.9
  },
  "luminance": 0.38515
}

Semantic roles & 50–950 ramp

primary
#7FA8EB
secondary
#F1E6D5
accent
#8A10D5
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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