#7EA8EC#7EA8EC

#7EA8EC is a light, moderate blue. Relative luminance 0.385; OKLCH L 72.8% C 0.110 H 259.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7EA8EC
RGBrgb(126, 168, 236)
HSLhsl(217, 74%, 71%)
HSVhsv(217, 47%, 93%)
CMYKcmyk(46.6%, 28.8%, 0%, 7.5%)
CIE-LABlab(68.38, 3.78, -38.51)
CIE-LCHlch(68.38, 38.69, 275.61°)
OKLaboklab(72.84% -0.0195 -0.1078)
OKLCHoklch(72.84% 0.11 259.8)
XYZxyz(37.7421, 38.4946, 84.7820)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8EC #ECC27E
analogous
#7EDFEC #7EA8EC #8B7EEC
triadic
#7EA8EC #EC7EA8 #A8EC7E
tetradic
#7EA8EC #EC7EDF #ECC27E #7EEC8B
square
#7EA8EC #EC7EDF #ECC27E #7EEC8B
split-complementary
#7EA8EC #EC8B7E #DFEC7E
monochromatic
#1F63D1 #4984E4 #7EA8EC #B3CCF4 #E4EDFB

Accessibility & contrast

On white

2.41
#7EA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#7EA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8EC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8EC#FFFFFF#000000##000000
##7EA8EC1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#51B7C0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7ea8ec;
/* rgb */ color: rgb(126, 168, 236);
/* oklch */ color: oklch(72.8% 0.110 259.8);
Tailwind
colors: {
  custom: {
    50: '#a8c1f2',
    500: '#7ea8ec',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8ec;
$custom-light: #a8c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8ec",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 217.091,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72838,
    "c": 0.10959,
    "h": 259.8
  },
  "luminance": 0.38497
}

Semantic roles & 50–950 ramp

primary
#7EA8EC
secondary
#F2E6D4
accent
#8A0FD6
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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