#7FA2E2#7FA2E2

#7FA2E2 is a light, moderate blue. Relative luminance 0.358; OKLCH L 71.2% C 0.102 H 262.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA2E2
RGBrgb(127, 162, 226)
HSLhsl(219, 63%, 69%)
HSVhsv(219, 44%, 89%)
CMYKcmyk(43.8%, 28.3%, 0%, 11.4%)
CIE-LABlab(66.40, 4.56, -36.11)
CIE-LCHlch(66.40, 36.40, 277.20°)
OKLaboklab(71.16% -0.0141 -0.1009)
OKLCHoklch(71.16% 0.102 262)
XYZxyz(35.3958, 35.8416, 76.9898)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2E2 #E2BF7F
analogous
#7FD4E2 #7FA2E2 #8E7FE2
triadic
#7FA2E2 #E27FA2 #A2E27F
tetradic
#7FA2E2 #E27FD4 #E2BF7F #7FE28E
square
#7FA2E2 #E27FD4 #E2BF7F #7FE28E
split-complementary
#7FA2E2 #E28E7F #D4E27F
monochromatic
#2B5EBC #4D7ED7 #7FA2E2 #B1C6ED #E3EBF9

Accessibility & contrast

On white

2.57
#7FA2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#7FA2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2E2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2E2#FFFFFF#000000##000000
##7FA2E21.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA6E5
Deuteranopia (green-blind)
#809DE1
Tritanopia (blue-blind)
#5AB0B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa2e2;
/* rgb */ color: rgb(127, 162, 226);
/* oklch */ color: oklch(71.2% 0.102 262.0);
Tailwind
colors: {
  custom: {
    50: '#a8bdeb',
    500: '#7fa2e2',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2e2;
$custom-light: #a8bdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2e2",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 218.788,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.10192,
    "h": 262
  },
  "luminance": 0.35844
}

Semantic roles & 50–950 ramp

primary
#7FA2E2
secondary
#EDE3D0
accent
#8D1BCB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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