#7EA5EC#7EA5EC

#7EA5EC is a light, moderate blue. Relative luminance 0.374; OKLCH L 72.2% C 0.113 H 261.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7EA5EC
RGBrgb(126, 165, 236)
HSLhsl(219, 74%, 71%)
HSVhsv(219, 47%, 93%)
CMYKcmyk(46.6%, 30.1%, 0%, 7.5%)
CIE-LABlab(67.58, 5.48, -39.77)
CIE-LCHlch(67.58, 40.14, 277.85°)
OKLaboklab(72.21% -0.0159 -0.1115)
OKLCHoklch(72.21% 0.113 261.9)
XYZxyz(37.1947, 37.3996, 84.5995)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA5EC #ECC57E
analogous
#7EDCEC #7EA5EC #8E7EEC
triadic
#7EA5EC #EC7EA5 #A5EC7E
tetradic
#7EA5EC #EC7EDC #ECC57E #7EEC8E
square
#7EA5EC #EC7EDC #ECC57E #7EEC8E
split-complementary
#7EA5EC #EC8E7E #DCEC7E
monochromatic
#1F5ED1 #4980E4 #7EA5EC #B3CAF4 #E4ECFB

Accessibility & contrast

On white

2.48
#7EA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#7EA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA5EC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA5EC#FFFFFF#000000##000000
##7EA5EC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#51B4BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7ea5ec;
/* rgb */ color: rgb(126, 165, 236);
/* oklch */ color: oklch(72.2% 0.113 261.9);
Tailwind
colors: {
  custom: {
    50: '#a8bff2',
    500: '#7ea5ec',
    950: '#000000',
  },
}
SCSS
$custom: #7ea5ec;
$custom-light: #a8bff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea5ec",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 218.727,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72208,
    "c": 0.11263,
    "h": 261.9
  },
  "luminance": 0.37402
}

Semantic roles & 50–950 ramp

primary
#7EA5EC
secondary
#F2E7D4
accent
#900FD6
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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