#7EA1EB#7EA1EB

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

Color values

HEX#7EA1EB
RGBrgb(126, 161, 235)
HSLhsl(221, 73%, 71%)
HSVhsv(221, 46%, 92%)
CMYKcmyk(46.4%, 31.5%, 0%, 7.8%)
CIE-LABlab(66.46, 7.47, -40.97)
CIE-LCHlch(66.46, 41.64, 280.33°)
OKLaboklab(71.32% -0.0114 -0.115)
OKLCHoklch(71.32% 0.116 264.3)
XYZxyz(36.3396, 35.9213, 83.5998)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1EB #EBC87E
analogous
#7ED7EB #7EA1EB #917EEB
triadic
#7EA1EB #EB7EA1 #A1EB7E
tetradic
#7EA1EB #EB7ED7 #EBC87E #7EEB91
square
#7EA1EB #EB7ED7 #EBC87E #7EEB91
split-complementary
#7EA1EB #EB917E #D7EB7E
monochromatic
#2058CF #497AE3 #7EA1EB #B3C8F3 #E5ECFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA1EB#FFFFFF#000000##000000
##7EA1EB1.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)
#86A7EE
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#53B1BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ea1eb;
/* rgb */ color: rgb(126, 161, 235);
/* oklch */ color: oklch(71.3% 0.116 264.3);
Tailwind
colors: {
  custom: {
    50: '#a8bcf1',
    500: '#7ea1eb',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1eb;
$custom-light: #a8bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1eb",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 220.734,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.11554,
    "h": 264.3
  },
  "luminance": 0.35924
}

Semantic roles & 50–950 ramp

primary
#7EA1EB
secondary
#F1E8D4
accent
#9610D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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