#7EA1EA#7EA1EA

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

Color values

HEX#7EA1EA
RGBrgb(126, 161, 234)
HSLhsl(221, 72%, 71%)
HSVhsv(221, 46%, 92%)
CMYKcmyk(46.2%, 31.2%, 0%, 8.2%)
CIE-LABlab(66.42, 7.18, -40.49)
CIE-LCHlch(66.42, 41.12, 280.05°)
OKLaboklab(71.28% -0.0117 -0.1136)
OKLCHoklch(71.28% 0.114 264.1)
XYZxyz(36.1955, 35.8636, 82.8410)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1EA #EAC77E
analogous
#7ED7EA #7EA1EA #917EEA
triadic
#7EA1EA #EA7EA1 #A1EA7E
tetradic
#7EA1EA #EA7ED7 #EAC77E #7EEA91
square
#7EA1EA #EA7ED7 #EAC77E #7EEA91
split-complementary
#7EA1EA #EA917E #D7EA7E
monochromatic
#2159CC #497BE1 #7EA1EA #B3C7F3 #E5ECFB

Accessibility & contrast

On white

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

On black

8.17
#7EA1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1EA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1EA#FFFFFF#000000##000000
##7EA1EA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#53B0BB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ea1ea;
/* rgb */ color: rgb(126, 161, 234);
/* oklch */ color: oklch(71.3% 0.114 264.1);
Tailwind
colors: {
  custom: {
    50: '#a8bcf1',
    500: '#7ea1ea',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1ea;
$custom-light: #a8bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1ea",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 220.556,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71275,
    "c": 0.11419,
    "h": 264.1
  },
  "luminance": 0.35866
}

Semantic roles & 50–950 ramp

primary
#7EA1EA
secondary
#F1E7D3
accent
#9511D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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