#7EA1E1#7EA1E1

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

Color values

HEX#7EA1E1
RGBrgb(126, 161, 225)
HSLhsl(219, 62%, 69%)
HSVhsv(219, 44%, 88%)
CMYKcmyk(44%, 28.4%, 0%, 11.8%)
CIE-LABlab(66.03, 4.59, -36.14)
CIE-LCHlch(66.03, 36.43, 277.24°)
OKLaboklab(70.85% -0.0141 -0.101)
OKLCHoklch(70.85% 0.102 262)
XYZxyz(34.9353, 35.3595, 76.2038)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1E1 #E1BE7E
analogous
#7ED3E1 #7EA1E1 #8D7EE1
triadic
#7EA1E1 #E17EA1 #A1E17E
tetradic
#7EA1E1 #E17ED3 #E1BE7E #7EE18D
square
#7EA1E1 #E17ED3 #E1BE7E #7EE18D
split-complementary
#7EA1E1 #E18D7E #D3E17E
monochromatic
#2B5DB9 #4C7DD5 #7EA1E1 #B0C5ED #E1E9F8

Accessibility & contrast

On white

2.60
#7EA1E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#7EA1E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1E1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1E1#FFFFFF#000000##000000
##7EA1E11.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E4
Deuteranopia (green-blind)
#7F9CE0
Tritanopia (blue-blind)
#59AFB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7ea1e1;
/* rgb */ color: rgb(126, 161, 225);
/* oklch */ color: oklch(70.8% 0.102 262.0);
Tailwind
colors: {
  custom: {
    50: '#a7bcea',
    500: '#7ea1e1',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1e1;
$custom-light: #a7bcea;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1e1",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 225
  },
  "hsl": {
    "h": 218.788,
    "s": 62.264,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70846,
    "c": 0.10202,
    "h": 262
  },
  "luminance": 0.35362
}

Semantic roles & 50–950 ramp

primary
#7EA1E1
secondary
#ECE2CF
accent
#8C1BCA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA1E1

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

Preview Lab → · Contrast checker → · Palette generator →

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