#7EA2E4#7EA2E4

#7EA2E4 is a light, moderate blue. Relative luminance 0.359; OKLCH L 71.2% C 0.105 H 262.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7EA2E4
RGBrgb(126, 162, 228)
HSLhsl(219, 65%, 69%)
HSVhsv(219, 45%, 89%)
CMYKcmyk(44.7%, 28.9%, 0%, 10.6%)
CIE-LABlab(66.42, 4.88, -37.18)
CIE-LCHlch(66.42, 37.49, 277.48°)
OKLaboklab(71.2% -0.0145 -0.104)
OKLCHoklch(71.2% 0.105 262.1)
XYZxyz(35.5236, 35.8756, 78.4366)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2E4 #E4C07E
analogous
#7ED5E4 #7EA2E4 #8D7EE4
triadic
#7EA2E4 #E47EA2 #A2E47E
tetradic
#7EA2E4 #E47ED5 #E4C07E #7EE48D
square
#7EA2E4 #E47ED5 #E4C07E #7EE48D
split-complementary
#7EA2E4 #E48D7E #D5E47E
monochromatic
#285EC0 #4B7ED9 #7EA2E4 #B1C6EF #E3EBF9

Accessibility & contrast

On white

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

On black

8.18
#7EA2E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2E4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2E4#FFFFFF#000000##000000
##7EA2E41.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA7E7
Deuteranopia (green-blind)
#7F9DE3
Tritanopia (blue-blind)
#57B0B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ea2e4;
/* rgb */ color: rgb(126, 162, 228);
/* oklch */ color: oklch(71.2% 0.105 262.1);
Tailwind
colors: {
  custom: {
    50: '#a8bdec',
    500: '#7ea2e4',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2e4;
$custom-light: #a8bdec;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2e4",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 228
  },
  "hsl": {
    "h": 218.824,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71197,
    "c": 0.10503,
    "h": 262.1
  },
  "luminance": 0.35878
}

Semantic roles & 50–950 ramp

primary
#7EA2E4
secondary
#EEE3D0
accent
#8D18CD
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA2E4

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

Preview Lab → · Contrast checker → · Palette generator →

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