#7EA5E7#7EA5E7

#7EA5E7 is a light, moderate blue. Relative luminance 0.371; OKLCH L 72.0% C 0.106 H 260.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7EA5E7
RGBrgb(126, 165, 231)
HSLhsl(218, 69%, 70%)
HSVhsv(218, 45%, 91%)
CMYKcmyk(45.5%, 28.6%, 0%, 9.4%)
CIE-LABlab(67.36, 4.04, -37.36)
CIE-LCHlch(67.36, 37.58, 276.17°)
OKLaboklab(71.97% -0.0173 -0.1046)
OKLCHoklch(71.97% 0.106 260.6)
XYZxyz(36.4784, 37.1131, 80.8272)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA5E7 #E7C07E
analogous
#7EDAE7 #7EA5E7 #8B7EE7
triadic
#7EA5E7 #E77EA5 #A5E77E
tetradic
#7EA5E7 #E77EDA #E7C07E #7EE78B
square
#7EA5E7 #E77EDA #E7C07E #7EE78B
split-complementary
#7EA5E7 #E78B7E #DAE77E
monochromatic
#2561C6 #4A81DD #7EA5E7 #B2C9F1 #E5EDFA

Accessibility & contrast

On white

2.49
#7EA5E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7EA5E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA5E7
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA5E7#FFFFFF#000000##000000
##7EA5E71.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA9EA
Deuteranopia (green-blind)
#81A0E6
Tritanopia (blue-blind)
#55B3BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea5e7;
/* rgb */ color: rgb(126, 165, 231);
/* oklch */ color: oklch(72.0% 0.106 260.6);
Tailwind
colors: {
  custom: {
    50: '#a8bfef',
    500: '#7ea5e7',
    950: '#000000',
  },
}
SCSS
$custom: #7ea5e7;
$custom-light: #a8bfef;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea5e7",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 231
  },
  "hsl": {
    "h": 217.714,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.7197,
    "c": 0.10598,
    "h": 260.6
  },
  "luminance": 0.37115
}

Semantic roles & 50–950 ramp

primary
#7EA5E7
secondary
#EFE4D2
accent
#8B15D1
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA5E7

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

Preview Lab → · Contrast checker → · Palette generator →

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