#7EA1EC#7EA1EC

#7EA1EC is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.4% C 0.117 H 264.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7EA1EC
RGBrgb(126, 161, 236)
HSLhsl(221, 74%, 71%)
HSVhsv(221, 47%, 93%)
CMYKcmyk(46.6%, 31.8%, 0%, 7.5%)
CIE-LABlab(66.50, 7.76, -41.45)
CIE-LCHlch(66.50, 42.16, 280.60°)
OKLaboklab(71.37% -0.0111 -0.1164)
OKLCHoklch(71.37% 0.117 264.5)
XYZxyz(36.4845, 35.9792, 84.3628)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1EC #ECC97E
analogous
#7ED8EC #7EA1EC #927EEC
triadic
#7EA1EC #EC7EA1 #A1EC7E
tetradic
#7EA1EC #EC7ED8 #ECC97E #7EEC92
square
#7EA1EC #EC7ED8 #ECC97E #7EEC92
split-complementary
#7EA1EC #EC927E #D8EC7E
monochromatic
#1F57D1 #497AE4 #7EA1EC #B3C8F4 #E4ECFB

Accessibility & contrast

On white

2.56
#7EA1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#7EA1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1EC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1EC#FFFFFF#000000##000000
##7EA1EC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#52B1BC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ea1ec;
/* rgb */ color: rgb(126, 161, 236);
/* oklch */ color: oklch(71.4% 0.117 264.5);
Tailwind
colors: {
  custom: {
    50: '#a8bcf2',
    500: '#7ea1ec',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1ec;
$custom-light: #a8bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1ec",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 236
  },
  "hsl": {
    "h": 220.909,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71373,
    "c": 0.1169,
    "h": 264.5
  },
  "luminance": 0.35981
}

Semantic roles & 50–950 ramp

primary
#7EA1EC
secondary
#F2E8D4
accent
#970FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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