#7EA2EC#7EA2EC

#7EA2EC is a light, moderate blue. Relative luminance 0.363; OKLCH L 71.6% C 0.116 H 263.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7EA2EC
RGBrgb(126, 162, 236)
HSLhsl(220, 74%, 71%)
HSVhsv(220, 47%, 93%)
CMYKcmyk(46.6%, 31.4%, 0%, 7.5%)
CIE-LABlab(66.77, 7.19, -41.03)
CIE-LCHlch(66.77, 41.65, 279.94°)
OKLaboklab(71.58% -0.0123 -0.1151)
OKLCHoklch(71.58% 0.116 263.9)
XYZxyz(36.6599, 36.3301, 84.4213)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2EC #ECC87E
analogous
#7ED9EC #7EA2EC #917EEC
triadic
#7EA2EC #EC7EA2 #A2EC7E
tetradic
#7EA2EC #EC7ED9 #ECC87E #7EEC91
square
#7EA2EC #EC7ED9 #ECC87E #7EEC91
split-complementary
#7EA2EC #EC917E #D9EC7E
monochromatic
#1F59D1 #497CE4 #7EA2EC #B3C8F4 #E4ECFB

Accessibility & contrast

On white

2.54
#7EA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#7EA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2EC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2EC#FFFFFF#000000##000000
##7EA2EC1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#52B2BC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ea2ec;
/* rgb */ color: rgb(126, 162, 236);
/* oklch */ color: oklch(71.6% 0.116 263.9);
Tailwind
colors: {
  custom: {
    50: '#a8bdf2',
    500: '#7ea2ec',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2ec;
$custom-light: #a8bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2ec",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 220.364,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71581,
    "c": 0.11581,
    "h": 263.9
  },
  "luminance": 0.36332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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