#7EA2E7#7EA2E7

#7EA2E7 is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.3% C 0.109 H 262.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7EA2E7
RGBrgb(126, 162, 231)
HSLhsl(219, 69%, 70%)
HSVhsv(219, 45%, 91%)
CMYKcmyk(45.5%, 29.9%, 0%, 9.4%)
CIE-LABlab(66.55, 5.74, -38.62)
CIE-LCHlch(66.55, 39.05, 278.46°)
OKLaboklab(71.34% -0.0137 -0.1082)
OKLCHoklch(71.34% 0.109 262.8)
XYZxyz(35.9436, 36.0436, 80.6489)
Luminance0.3605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2E7 #E7C37E
analogous
#7ED6E7 #7EA2E7 #8F7EE7
triadic
#7EA2E7 #E77EA2 #A2E77E
tetradic
#7EA2E7 #E77ED6 #E7C37E #7EE78F
square
#7EA2E7 #E77ED6 #E7C37E #7EE78F
split-complementary
#7EA2E7 #E78F7E #D6E77E
monochromatic
#255CC6 #4A7DDD #7EA2E7 #B2C7F1 #E5ECFA

Accessibility & contrast

On white

2.56
#7EA2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#7EA2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2E7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2E7#FFFFFF#000000##000000
##7EA2E71.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7EA
Deuteranopia (green-blind)
#7D9DE5
Tritanopia (blue-blind)
#55B1BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ea2e7;
/* rgb */ color: rgb(126, 162, 231);
/* oklch */ color: oklch(71.3% 0.109 262.8);
Tailwind
colors: {
  custom: {
    50: '#a8bdef',
    500: '#7ea2e7',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2e7;
$custom-light: #a8bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2e7",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 219.429,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.7134,
    "c": 0.10906,
    "h": 262.8
  },
  "luminance": 0.36046
}

Semantic roles & 50–950 ramp

primary
#7EA2E7
secondary
#EFE5D2
accent
#9015D1
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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