#7FA4E2#7FA4E2

#7FA4E2 is a light, moderate blue. Relative luminance 0.366; OKLCH L 71.6% C 0.100 H 260.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7FA4E2
RGBrgb(127, 164, 226)
HSLhsl(218, 63%, 69%)
HSVhsv(218, 44%, 89%)
CMYKcmyk(43.8%, 27.4%, 0%, 11.4%)
CIE-LABlab(66.94, 3.43, -35.27)
CIE-LCHlch(66.94, 35.44, 275.55°)
OKLaboklab(71.59% -0.0166 -0.0985)
OKLCHoklch(71.59% 0.1 260.5)
XYZxyz(35.7509, 36.5518, 77.1081)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4E2 #E2BD7F
analogous
#7FD5E2 #7FA4E2 #8C7FE2
triadic
#7FA4E2 #E27FA4 #A4E27F
tetradic
#7FA4E2 #E27FD5 #E2BD7F #7FE28C
square
#7FA4E2 #E27FD5 #E2BD7F #7FE28C
split-complementary
#7FA4E2 #E28C7F #D5E27F
monochromatic
#2B61BC #4D81D7 #7FA4E2 #B1C7ED #E3EBF9

Accessibility & contrast

On white

2.53
#7FA4E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7FA4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4E2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4E2#FFFFFF#000000##000000
##7FA4E21.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA8E5
Deuteranopia (green-blind)
#829FE1
Tritanopia (blue-blind)
#5AB1BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa4e2;
/* rgb */ color: rgb(127, 164, 226);
/* oklch */ color: oklch(71.6% 0.100 260.5);
Tailwind
colors: {
  custom: {
    50: '#a8beeb',
    500: '#7fa4e2',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4e2;
$custom-light: #a8beeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4e2",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 226
  },
  "hsl": {
    "h": 217.576,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71586,
    "c": 0.09989,
    "h": 260.5
  },
  "luminance": 0.36554
}

Semantic roles & 50–950 ramp

primary
#7FA4E2
secondary
#EDE2D0
accent
#891BCB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4E2

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

Preview Lab → · Contrast checker → · Palette generator →

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