#7FA4E8#7FA4E8

#7FA4E8 is a light, moderate blue. Relative luminance 0.369; OKLCH L 71.9% C 0.108 H 262.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA4E8
RGBrgb(127, 164, 232)
HSLhsl(219, 70%, 70%)
HSVhsv(219, 45%, 91%)
CMYKcmyk(45.3%, 29.3%, 0%, 9%)
CIE-LABlab(67.19, 5.14, -38.17)
CIE-LCHlch(67.19, 38.52, 277.67°)
OKLaboklab(71.87% -0.0148 -0.1069)
OKLCHoklch(71.87% 0.108 262.1)
XYZxyz(36.5886, 36.8869, 81.5202)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4E8 #E8C37F
analogous
#7FD8E8 #7FA4E8 #8E7FE8
triadic
#7FA4E8 #E87FA4 #A4E87F
tetradic
#7FA4E8 #E87FD8 #E8C37F #7FE88E
square
#7FA4E8 #E87FD8 #E8C37F #7FE88E
split-complementary
#7FA4E8 #E88E7F #D8E87F
monochromatic
#245EC9 #4B7FDF #7FA4E8 #B3C9F1 #E5EDFA

Accessibility & contrast

On white

2.51
#7FA4E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7FA4E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4E8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4E8#FFFFFF#000000##000000
##7FA4E81.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA9EB
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#56B3BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa4e8;
/* rgb */ color: rgb(127, 164, 232);
/* oklch */ color: oklch(71.9% 0.108 262.1);
Tailwind
colors: {
  custom: {
    50: '#a9beef',
    500: '#7fa4e8',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4e8;
$custom-light: #a9beef;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4e8",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 232
  },
  "hsl": {
    "h": 218.857,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71867,
    "c": 0.10791,
    "h": 262.1
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

primary
#7FA4E8
secondary
#F0E6D3
accent
#8F14D2
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4E8

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

Preview Lab → · Contrast checker → · Palette generator →

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