#7EA6EB#7EA6EB

#7EA6EB is a light, moderate blue. Relative luminance 0.377; OKLCH L 72.4% C 0.110 H 260.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7EA6EB
RGBrgb(126, 166, 235)
HSLhsl(218, 73%, 71%)
HSVhsv(218, 46%, 92%)
CMYKcmyk(46.4%, 29.4%, 0%, 7.8%)
CIE-LABlab(67.80, 4.63, -38.87)
CIE-LCHlch(67.80, 39.14, 276.79°)
OKLaboklab(72.37% -0.0174 -0.1089)
OKLCHoklch(72.37% 0.11 260.9)
XYZxyz(37.2309, 37.7038, 83.8969)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA6EB #EBC37E
analogous
#7EDCEB #7EA6EB #8C7EEB
triadic
#7EA6EB #EB7EA6 #A6EB7E
tetradic
#7EA6EB #EB7EDC #EBC37E #7EEB8C
square
#7EA6EB #EB7EDC #EBC37E #7EEB8C
split-complementary
#7EA6EB #EB8C7E #DCEB7E
monochromatic
#2060CF #4981E3 #7EA6EB #B3CBF3 #E5EDFB

Accessibility & contrast

On white

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

On black

8.54
#7EA6EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA6EB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA6EB#FFFFFF#000000##000000
##7EA6EB1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEE
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#52B5BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7ea6eb;
/* rgb */ color: rgb(126, 166, 235);
/* oklch */ color: oklch(72.4% 0.110 260.9);
Tailwind
colors: {
  custom: {
    50: '#a8c0f1',
    500: '#7ea6eb',
    950: '#000000',
  },
}
SCSS
$custom: #7ea6eb;
$custom-light: #a8c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea6eb",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 235
  },
  "hsl": {
    "h": 217.982,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7237,
    "c": 0.11028,
    "h": 260.9
  },
  "luminance": 0.37706
}

Semantic roles & 50–950 ramp

primary
#7EA6EB
secondary
#F1E6D4
accent
#8D10D5
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA6EB

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

Preview Lab → · Contrast checker → · Palette generator →

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