#7EA0EC#7EA0EC

#7EA0EC is a light, moderate blue. Relative luminance 0.356; OKLCH L 71.2% C 0.118 H 265.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7EA0EC
RGBrgb(126, 160, 236)
HSLhsl(221, 74%, 71%)
HSVhsv(221, 47%, 93%)
CMYKcmyk(46.6%, 32.2%, 0%, 7.5%)
CIE-LABlab(66.24, 8.33, -41.86)
CIE-LCHlch(66.24, 42.68, 281.25°)
OKLaboklab(71.17% -0.0099 -0.1176)
OKLCHoklch(71.17% 0.118 265.2)
XYZxyz(36.3104, 35.6311, 84.3048)
Luminance0.3563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA0EC #ECCA7E
analogous
#7ED7EC #7EA0EC #937EEC
triadic
#7EA0EC #EC7EA0 #A0EC7E
tetradic
#7EA0EC #EC7ED7 #ECCA7E #7EEC93
square
#7EA0EC #EC7ED7 #ECCA7E #7EEC93
split-complementary
#7EA0EC #EC937E #D7EC7E
monochromatic
#1F56D1 #4979E4 #7EA0EC #B3C7F4 #E4EBFB

Accessibility & contrast

On white

2.58
#7EA0EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#7EA0EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA0EC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA0EC#FFFFFF#000000##000000
##7EA0EC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EF
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#52B0BB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ea0ec;
/* rgb */ color: rgb(126, 160, 236);
/* oklch */ color: oklch(71.2% 0.118 265.2);
Tailwind
colors: {
  custom: {
    50: '#a8bbf2',
    500: '#7ea0ec',
    950: '#000000',
  },
}
SCSS
$custom: #7ea0ec;
$custom-light: #a8bbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea0ec",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 236
  },
  "hsl": {
    "h": 221.455,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71166,
    "c": 0.118,
    "h": 265.2
  },
  "luminance": 0.35633
}

Semantic roles & 50–950 ramp

primary
#7EA0EC
secondary
#F2E8D4
accent
#990FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7EA0EC

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

Preview Lab → · Contrast checker → · Palette generator →

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