#7FA7EC#7FA7EC

#7FA7EC is a light, moderate blue. Relative luminance 0.382; OKLCH L 72.7% C 0.110 H 260.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7FA7EC
RGBrgb(127, 167, 236)
HSLhsl(218, 74%, 71%)
HSVhsv(218, 46%, 93%)
CMYKcmyk(46.2%, 29.2%, 0%, 7.5%)
CIE-LABlab(68.17, 4.59, -38.84)
CIE-LCHlch(68.17, 39.11, 276.74°)
OKLaboklab(72.69% -0.0173 -0.1088)
OKLCHoklch(72.69% 0.11 260.9)
XYZxyz(37.7065, 38.2032, 84.7277)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7EC #ECC47F
analogous
#7FDDEC #7FA7EC #8D7FEC
triadic
#7FA7EC #EC7FA7 #A7EC7F
tetradic
#7FA7EC #EC7FDD #ECC47F #7FEC8D
square
#7FA7EC #EC7FDD #ECC47F #7FEC8D
split-complementary
#7FA7EC #EC8D7F #DDEC7F
monochromatic
#1F61D2 #4A82E4 #7FA7EC #B4CCF4 #E4EDFB

Accessibility & contrast

On white

2.43
#7FA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#7FA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7EC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7EC#FFFFFF#000000##000000
##7FA7EC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#81A2EB
Tritanopia (blue-blind)
#53B6BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa7ec;
/* rgb */ color: rgb(127, 167, 236);
/* oklch */ color: oklch(72.7% 0.110 260.9);
Tailwind
colors: {
  custom: {
    50: '#a9c0f2',
    500: '#7fa7ec',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7ec;
$custom-light: #a9c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7ec",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 217.982,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72686,
    "c": 0.11016,
    "h": 260.9
  },
  "luminance": 0.38206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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