#7EA8EB#7EA8EB

#7EA8EB is a light, moderate blue. Relative luminance 0.384; OKLCH L 72.8% C 0.108 H 259.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7EA8EB
RGBrgb(126, 168, 235)
HSLhsl(217, 73%, 71%)
HSVhsv(217, 46%, 92%)
CMYKcmyk(46.4%, 28.5%, 0%, 7.8%)
CIE-LABlab(68.34, 3.50, -38.03)
CIE-LCHlch(68.34, 38.19, 275.25°)
OKLaboklab(72.79% -0.0198 -0.1065)
OKLCHoklch(72.79% 0.108 259.5)
XYZxyz(37.5973, 38.4366, 84.0190)
Luminance0.3844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8EB #EBC17E
analogous
#7EDEEB #7EA8EB #8A7EEB
triadic
#7EA8EB #EB7EA8 #A8EB7E
tetradic
#7EA8EB #EB7EDE #EBC17E #7EEB8A
square
#7EA8EB #EB7EDE #EBC17E #7EEB8A
split-complementary
#7EA8EB #EB8A7E #DEEB7E
monochromatic
#2063CF #4984E3 #7EA8EB #B3CCF3 #E5EDFB

Accessibility & contrast

On white

2.42
#7EA8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#7EA8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8EB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8EB#FFFFFF#000000##000000
##7EA8EB1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEE
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#52B7C0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7ea8eb;
/* rgb */ color: rgb(126, 168, 235);
/* oklch */ color: oklch(72.8% 0.108 259.5);
Tailwind
colors: {
  custom: {
    50: '#a8c1f1',
    500: '#7ea8eb',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8eb;
$custom-light: #a8c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8eb",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 216.881,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.10828,
    "h": 259.5
  },
  "luminance": 0.38439
}

Semantic roles & 50–950 ramp

primary
#7EA8EB
secondary
#F1E6D4
accent
#8910D5
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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