#7EA1E9#7EA1E9

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

Color values

HEX#7EA1E9
RGBrgb(126, 161, 233)
HSLhsl(220, 71%, 70%)
HSVhsv(220, 46%, 91%)
CMYKcmyk(45.9%, 30.9%, 0%, 8.6%)
CIE-LABlab(66.37, 6.89, -40.01)
CIE-LCHlch(66.37, 40.59, 279.77°)
OKLaboklab(71.23% -0.0119 -0.1122)
OKLCHoklch(71.23% 0.113 263.9)
XYZxyz(36.0523, 35.8063, 82.0866)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1E9 #E9C67E
analogous
#7ED6E9 #7EA1E9 #907EE9
triadic
#7EA1E9 #E97EA1 #A1E97E
tetradic
#7EA1E9 #E97ED6 #E9C67E #7EE990
square
#7EA1E9 #E97ED6 #E9C67E #7EE990
split-complementary
#7EA1E9 #E9907E #D6E97E
monochromatic
#2259CA #4A7BE0 #7EA1E9 #B2C7F2 #E5ECFB

Accessibility & contrast

On white

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

On black

8.16
#7EA1E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1E9
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1E9#FFFFFF#000000##000000
##7EA1E91.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EC
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#54B0BB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ea1e9;
/* rgb */ color: rgb(126, 161, 233);
/* oklch */ color: oklch(71.2% 0.113 263.9);
Tailwind
colors: {
  custom: {
    50: '#a8bcf0',
    500: '#7ea1e9',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1e9;
$custom-light: #a8bcf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1e9",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 233
  },
  "hsl": {
    "h": 220.374,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71227,
    "c": 0.11283,
    "h": 263.9
  },
  "luminance": 0.35809
}

Semantic roles & 50–950 ramp

primary
#7EA1E9
secondary
#F0E6D3
accent
#9413D3
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA1E9

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

Preview Lab → · Contrast checker → · Palette generator →

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