#7FA7EE#7FA7EE

#7FA7EE is a light, moderate blue. Relative luminance 0.383; OKLCH L 72.8% C 0.113 H 261.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7FA7EE
RGBrgb(127, 167, 238)
HSLhsl(218, 77%, 72%)
HSVhsv(218, 47%, 93%)
CMYKcmyk(46.6%, 29.8%, 0%, 6.7%)
CIE-LABlab(68.26, 5.17, -39.80)
CIE-LCHlch(68.26, 40.13, 277.40°)
OKLaboklab(72.78% -0.0168 -0.1116)
OKLCHoklch(72.78% 0.113 261.4)
XYZxyz(37.9987, 38.3201, 86.2666)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7EE #EEC67F
analogous
#7FDFEE #7FA7EE #8F7FEE
triadic
#7FA7EE #EE7FA7 #A7EE7F
tetradic
#7FA7EE #EE7FDF #EEC67F #7FEE8F
square
#7FA7EE #EE7FDF #EEC67F #7FEE8F
split-complementary
#7FA7EE #EE8F7F #DFEE7F
monochromatic
#1C5FD6 #4982E7 #7FA7EE #B5CCF5 #E4ECFB

Accessibility & contrast

On white

2.42
#7FA7EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#7FA7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7EE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7EE#FFFFFF#000000##000000
##7FA7EE1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF1
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#52B6C0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa7ee;
/* rgb */ color: rgb(127, 167, 238);
/* oklch */ color: oklch(72.8% 0.113 261.4);
Tailwind
colors: {
  custom: {
    50: '#a9c0f4',
    500: '#7fa7ee',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7ee;
$custom-light: #a9c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7ee",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 238
  },
  "hsl": {
    "h": 218.378,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72781,
    "c": 0.11282,
    "h": 261.4
  },
  "luminance": 0.38323
}

Semantic roles & 50–950 ramp

primary
#7FA7EE
secondary
#F3E8D6
accent
#8F0DD9
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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