#7FA2EA#7FA2EA

#7FA2EA is a light, moderate blue. Relative luminance 0.363; OKLCH L 71.5% C 0.113 H 263.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7FA2EA
RGBrgb(127, 162, 234)
HSLhsl(220, 72%, 71%)
HSVhsv(220, 46%, 92%)
CMYKcmyk(45.7%, 30.8%, 0%, 8.2%)
CIE-LABlab(66.74, 6.85, -39.97)
CIE-LCHlch(66.74, 40.55, 279.72°)
OKLaboklab(71.54% -0.0119 -0.1121)
OKLCHoklch(71.54% 0.113 263.9)
XYZxyz(36.5192, 36.2910, 82.9065)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2EA #EAC77F
analogous
#7FD7EA #7FA2EA #917FEA
triadic
#7FA2EA #EA7FA2 #A2EA7F
tetradic
#7FA2EA #EA7FD7 #EAC77F #7FEA91
square
#7FA2EA #EA7FD7 #EAC77F #7FEA91
split-complementary
#7FA2EA #EA917F #D7EA7F
monochromatic
#225ACD #4A7CE1 #7FA2EA #B4C8F3 #E5ECFB

Accessibility & contrast

On white

2.54
#7FA2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#7FA2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2EA
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2EA#FFFFFF#000000##000000
##7FA2EA1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8ED
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#55B1BC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa2ea;
/* rgb */ color: rgb(127, 162, 234);
/* oklch */ color: oklch(71.5% 0.113 263.9);
Tailwind
colors: {
  custom: {
    50: '#a9bdf1',
    500: '#7fa2ea',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2ea;
$custom-light: #a9bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2ea",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 220.374,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71544,
    "c": 0.11271,
    "h": 263.9
  },
  "luminance": 0.36293
}

Semantic roles & 50–950 ramp

primary
#7FA2EA
secondary
#F1E7D4
accent
#9412D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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