#7EA1E4#7EA1E4

#7EA1E4 is a light, moderate blue. Relative luminance 0.355; OKLCH L 71.0% C 0.106 H 262.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7EA1E4
RGBrgb(126, 161, 228)
HSLhsl(219, 65%, 69%)
HSVhsv(219, 45%, 89%)
CMYKcmyk(44.7%, 29.4%, 0%, 10.6%)
CIE-LABlab(66.16, 5.45, -37.60)
CIE-LCHlch(66.16, 37.99, 278.25°)
OKLaboklab(70.99% -0.0133 -0.1052)
OKLCHoklch(70.99% 0.106 262.8)
XYZxyz(35.3481, 35.5247, 78.3781)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1E4 #E4C17E
analogous
#7ED4E4 #7EA1E4 #8E7EE4
triadic
#7EA1E4 #E47EA1 #A1E47E
tetradic
#7EA1E4 #E47ED4 #E4C17E #7EE48E
square
#7EA1E4 #E47ED4 #E4C17E #7EE48E
split-complementary
#7EA1E4 #E48E7E #D4E47E
monochromatic
#285CC0 #4B7CD9 #7EA1E4 #B1C6EF #E3EBF9

Accessibility & contrast

On white

2.59
#7EA1E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#7EA1E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1E4
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1E4#FFFFFF#000000##000000
##7EA1E41.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A6E7
Deuteranopia (green-blind)
#7D9DE3
Tritanopia (blue-blind)
#57AFB9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ea1e4;
/* rgb */ color: rgb(126, 161, 228);
/* oklch */ color: oklch(71.0% 0.106 262.8);
Tailwind
colors: {
  custom: {
    50: '#a8bcec',
    500: '#7ea1e4',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1e4;
$custom-light: #a8bcec;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1e4",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 228
  },
  "hsl": {
    "h": 219.412,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70987,
    "c": 0.10607,
    "h": 262.8
  },
  "luminance": 0.35527
}

Semantic roles & 50–950 ramp

primary
#7EA1E4
secondary
#EEE4D0
accent
#8F18CD
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA1E4

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

Preview Lab → · Contrast checker → · Palette generator →

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