#7FA8EE#7FA8EE

#7FA8EE is a light, moderate blue. Relative luminance 0.387; OKLCH L 73.0% C 0.112 H 260.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7FA8EE
RGBrgb(127, 168, 238)
HSLhsl(218, 77%, 72%)
HSVhsv(218, 47%, 93%)
CMYKcmyk(46.6%, 29.4%, 0%, 6.7%)
CIE-LABlab(68.52, 4.60, -39.38)
CIE-LCHlch(68.52, 39.64, 276.67°)
OKLaboklab(72.99% -0.018 -0.1103)
OKLCHoklch(72.99% 0.112 260.7)
XYZxyz(38.1826, 38.6879, 86.3279)
Luminance0.3869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA8EE #EEC57F
analogous
#7FE0EE #7FA8EE #8E7FEE
triadic
#7FA8EE #EE7FA8 #A8EE7F
tetradic
#7FA8EE #EE7FE0 #EEC57F #7FEE8E
square
#7FA8EE #EE7FE0 #EEC57F #7FEE8E
split-complementary
#7FA8EE #EE8E7F #E0EE7F
monochromatic
#1C61D6 #4983E7 #7FA8EE #B5CDF5 #E4EDFB

Accessibility & contrast

On white

2.40
#7FA8EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#7FA8EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA8EE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA8EE#FFFFFF#000000##000000
##7FA8EE1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF1
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#52B7C1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fa8ee;
/* rgb */ color: rgb(127, 168, 238);
/* oklch */ color: oklch(73.0% 0.112 260.7);
Tailwind
colors: {
  custom: {
    50: '#a9c1f4',
    500: '#7fa8ee',
    950: '#000000',
  },
}
SCSS
$custom: #7fa8ee;
$custom-light: #a9c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa8ee",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 238
  },
  "hsl": {
    "h": 217.838,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72991,
    "c": 0.1118,
    "h": 260.7
  },
  "luminance": 0.3869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA8EE

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

Preview Lab → · Contrast checker → · Palette generator →

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