#7EA2ED#7EA2ED

#7EA2ED is a light, moderate blue. Relative luminance 0.364; OKLCH L 71.6% C 0.117 H 264.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7EA2ED
RGBrgb(126, 162, 237)
HSLhsl(221, 76%, 71%)
HSVhsv(221, 47%, 93%)
CMYKcmyk(46.8%, 31.6%, 0%, 7.1%)
CIE-LABlab(66.82, 7.48, -41.51)
CIE-LCHlch(66.82, 42.17, 280.21°)
OKLaboklab(71.63% -0.0121 -0.1165)
OKLCHoklch(71.63% 0.117 264.1)
XYZxyz(36.8056, 36.3884, 85.1886)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2ED #EDC97E
analogous
#7ED9ED #7EA2ED #917EED
triadic
#7EA2ED #ED7EA2 #A2ED7E
tetradic
#7EA2ED #ED7ED9 #EDC97E #7EED91
square
#7EA2ED #ED7ED9 #EDC97E #7EED91
split-complementary
#7EA2ED #ED917E #D9ED7E
monochromatic
#1D58D3 #487BE6 #7EA2ED #B4C9F4 #E4ECFB

Accessibility & contrast

On white

2.54
#7EA2ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7EA2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2ED
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2ED#FFFFFF#000000##000000
##7EA2ED1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F0
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#51B2BD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ea2ed;
/* rgb */ color: rgb(126, 162, 237);
/* oklch */ color: oklch(71.6% 0.117 264.1);
Tailwind
colors: {
  custom: {
    50: '#a8bdf3',
    500: '#7ea2ed',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2ed;
$custom-light: #a8bdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2ed",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 237
  },
  "hsl": {
    "h": 220.541,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7163,
    "c": 0.11716,
    "h": 264.1
  },
  "luminance": 0.36391
}

Semantic roles & 50–950 ramp

primary
#7EA2ED
secondary
#F2E9D5
accent
#960ED8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EA2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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