#7EA2E5#7EA2E5

#7EA2E5 is a light, moderate blue. Relative luminance 0.359; OKLCH L 71.2% C 0.106 H 262.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7EA2E5
RGBrgb(126, 162, 229)
HSLhsl(219, 66%, 70%)
HSVhsv(219, 45%, 90%)
CMYKcmyk(45%, 29.3%, 0%, 10.2%)
CIE-LABlab(66.47, 5.17, -37.66)
CIE-LCHlch(66.47, 38.01, 277.81°)
OKLaboklab(71.24% -0.0142 -0.1054)
OKLCHoklch(71.24% 0.106 262.3)
XYZxyz(35.6628, 35.9313, 79.1698)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2E5 #E5C17E
analogous
#7ED6E5 #7EA2E5 #8E7EE5
triadic
#7EA2E5 #E57EA2 #A2E57E
tetradic
#7EA2E5 #E57ED6 #E5C17E #7EE58E
square
#7EA2E5 #E57ED6 #E5C17E #7EE58E
split-complementary
#7EA2E5 #E58E7E #D6E57E
monochromatic
#275DC2 #4B7DDB #7EA2E5 #B1C7EF #E4EBFA

Accessibility & contrast

On white

2.57
#7EA2E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#7EA2E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2E5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2E5#FFFFFF#000000##000000
##7EA2E51.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7E8
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#56B0BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ea2e5;
/* rgb */ color: rgb(126, 162, 229);
/* oklch */ color: oklch(71.2% 0.106 262.3);
Tailwind
colors: {
  custom: {
    50: '#a8bded',
    500: '#7ea2e5',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2e5;
$custom-light: #a8bded;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2e5",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 229
  },
  "hsl": {
    "h": 219.029,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71244,
    "c": 0.10637,
    "h": 262.3
  },
  "luminance": 0.35933
}

Semantic roles & 50–950 ramp

primary
#7EA2E5
secondary
#EEE4D1
accent
#8E17CE
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA2E5

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

Preview Lab → · Contrast checker → · Palette generator →

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