#7EA6EC#7EA6EC

#7EA6EC is a light, moderate blue. Relative luminance 0.378; OKLCH L 72.4% C 0.112 H 261.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7EA6EC
RGBrgb(126, 166, 236)
HSLhsl(218, 74%, 71%)
HSVhsv(218, 47%, 93%)
CMYKcmyk(46.6%, 29.7%, 0%, 7.5%)
CIE-LABlab(67.84, 4.91, -39.35)
CIE-LCHlch(67.84, 39.65, 277.12°)
OKLaboklab(72.42% -0.0171 -0.1103)
OKLCHoklch(72.42% 0.112 261.2)
XYZxyz(37.3757, 37.7618, 84.6599)
Luminance0.3776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA6EC #ECC47E
analogous
#7EDDEC #7EA6EC #8D7EEC
triadic
#7EA6EC #EC7EA6 #A6EC7E
tetradic
#7EA6EC #EC7EDD #ECC47E #7EEC8D
square
#7EA6EC #EC7EDD #ECC47E #7EEC8D
split-complementary
#7EA6EC #EC8D7E #DDEC7E
monochromatic
#1F60D1 #4981E4 #7EA6EC #B3CBF4 #E4EDFB

Accessibility & contrast

On white

2.46
#7EA6EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#7EA6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA6EC
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA6EC#FFFFFF#000000##000000
##7EA6EC1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#7FA1EA
Tritanopia (blue-blind)
#51B5BF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7ea6ec;
/* rgb */ color: rgb(126, 166, 236);
/* oklch */ color: oklch(72.4% 0.112 261.2);
Tailwind
colors: {
  custom: {
    50: '#a8c0f2',
    500: '#7ea6ec',
    950: '#000000',
  },
}
SCSS
$custom: #7ea6ec;
$custom-light: #a8c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea6ec",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 236
  },
  "hsl": {
    "h": 218.182,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72417,
    "c": 0.11161,
    "h": 261.2
  },
  "luminance": 0.37764
}

Semantic roles & 50–950 ramp

primary
#7EA6EC
secondary
#F2E7D4
accent
#8E0FD6
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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