#7EA2E2#7EA2E2

#7EA2E2 is a light, moderate blue. Relative luminance 0.358; OKLCH L 71.1% C 0.102 H 261.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7EA2E2
RGBrgb(126, 162, 226)
HSLhsl(218, 63%, 69%)
HSVhsv(218, 44%, 89%)
CMYKcmyk(44.2%, 28.3%, 0%, 11.4%)
CIE-LABlab(66.34, 4.31, -36.21)
CIE-LCHlch(66.34, 36.46, 276.79°)
OKLaboklab(71.1% -0.0151 -0.1012)
OKLCHoklch(71.1% 0.102 261.5)
XYZxyz(35.2475, 35.7652, 76.9828)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2E2 #E2BE7E
analogous
#7ED4E2 #7EA2E2 #8C7EE2
triadic
#7EA2E2 #E27EA2 #A2E27E
tetradic
#7EA2E2 #E27ED4 #E2BE7E #7EE28C
square
#7EA2E2 #E27ED4 #E2BE7E #7EE28C
split-complementary
#7EA2E2 #E28C7E #D4E27E
monochromatic
#2A5EBB #4C7ED7 #7EA2E2 #B0C6ED #E2EAF8

Accessibility & contrast

On white

2.58
#7EA2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#7EA2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2E2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2E2#FFFFFF#000000##000000
##7EA2E21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA6E5
Deuteranopia (green-blind)
#809DE1
Tritanopia (blue-blind)
#58B0B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ea2e2;
/* rgb */ color: rgb(126, 162, 226);
/* oklch */ color: oklch(71.1% 0.102 261.5);
Tailwind
colors: {
  custom: {
    50: '#a7bdeb',
    500: '#7ea2e2',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2e2;
$custom-light: #a7bdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2e2",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 218.4,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71103,
    "c": 0.10235,
    "h": 261.5
  },
  "luminance": 0.35767
}

Semantic roles & 50–950 ramp

primary
#7EA2E2
secondary
#EDE2CF
accent
#8B1ACB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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