#7FA8EC#7FA8EC

#7FA8EC is a light, moderate blue. Relative luminance 0.386; OKLCH L 72.9% C 0.109 H 260.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7FA8EC
RGBrgb(127, 168, 236)
HSLhsl(217, 74%, 71%)
HSVhsv(217, 46%, 93%)
CMYKcmyk(46.2%, 28.8%, 0%, 7.5%)
CIE-LABlab(68.44, 4.03, -38.42)
CIE-LCHlch(68.44, 38.63, 275.98°)
OKLaboklab(72.9% -0.0185 -0.1076)
OKLCHoklch(72.9% 0.109 260.2)
XYZxyz(37.8904, 38.5710, 84.7890)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8EC #ECC37F
analogous
#7FDFEC #7FA8EC #8C7FEC
triadic
#7FA8EC #EC7FA8 #A8EC7F
tetradic
#7FA8EC #EC7FDF #ECC37F #7FEC8C
square
#7FA8EC #EC7FDF #ECC37F #7FEC8C
split-complementary
#7FA8EC #EC8C7F #DFEC7F
monochromatic
#1F62D2 #4A84E4 #7FA8EC #B4CCF4 #E4EDFB

Accessibility & contrast

On white

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

On black

8.71
#7FA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8EC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8EC#FFFFFF#000000##000000
##7FA8EC1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEF
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#53B7C0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa8ec;
/* rgb */ color: rgb(127, 168, 236);
/* oklch */ color: oklch(72.9% 0.109 260.2);
Tailwind
colors: {
  custom: {
    50: '#a9c1f2',
    500: '#7fa8ec',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8ec;
$custom-light: #a9c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8ec",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 217.431,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72896,
    "c": 0.10916,
    "h": 260.2
  },
  "luminance": 0.38573
}

Semantic roles & 50–950 ramp

primary
#7FA8EC
secondary
#F2E7D5
accent
#8B0FD6
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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