#7FA2EE#7FA2EE

#7FA2EE is a light, moderate blue. Relative luminance 0.365; OKLCH L 71.7% C 0.118 H 264.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7FA2EE
RGBrgb(127, 162, 238)
HSLhsl(221, 77%, 72%)
HSVhsv(221, 47%, 93%)
CMYKcmyk(46.6%, 31.9%, 0%, 6.7%)
CIE-LABlab(66.92, 8.01, -41.89)
CIE-LCHlch(66.92, 42.65, 280.82°)
OKLaboklab(71.74% -0.0108 -0.1176)
OKLCHoklch(71.74% 0.118 264.7)
XYZxyz(37.1003, 36.5234, 85.9671)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2EE #EECB7F
analogous
#7FDAEE #7FA2EE #947FEE
triadic
#7FA2EE #EE7FA2 #A2EE7F
tetradic
#7FA2EE #EE7FDA #EECB7F #7FEE94
square
#7FA2EE #EE7FDA #EECB7F #7FEE94
split-complementary
#7FA2EE #EE947F #DAEE7F
monochromatic
#1C57D6 #497BE7 #7FA2EE #B5C9F5 #E4EBFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA2EE#FFFFFF#000000##000000
##7FA2EE1.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)
#86A8F1
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#53B2BD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa2ee;
/* rgb */ color: rgb(127, 162, 238);
/* oklch */ color: oklch(71.7% 0.118 264.7);
Tailwind
colors: {
  custom: {
    50: '#a9bdf4',
    500: '#7fa2ee',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2ee;
$custom-light: #a9bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2ee",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 221.081,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71739,
    "c": 0.11813,
    "h": 264.7
  },
  "luminance": 0.36526
}

Semantic roles & 50–950 ramp

primary
#7FA2EE
secondary
#F3EAD6
accent
#980DD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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