#7EA5E1#7EA5E1

#7EA5E1 is a light, moderate blue. Relative luminance 0.368; OKLCH L 71.7% C 0.098 H 258.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7EA5E1
RGBrgb(126, 165, 225)
HSLhsl(216, 62%, 69%)
HSVhsv(216, 44%, 88%)
CMYKcmyk(44%, 26.7%, 0%, 11.8%)
CIE-LABlab(67.11, 2.33, -34.46)
CIE-LCHlch(67.11, 34.54, 273.87°)
OKLaboklab(71.69% -0.019 -0.0962)
OKLCHoklch(71.69% 0.098 258.8)
XYZxyz(35.6455, 36.7800, 76.4405)
Luminance0.3678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA5E1 #E1BA7E
analogous
#7ED6E1 #7EA5E1 #897EE1
triadic
#7EA5E1 #E17EA5 #A5E17E
tetradic
#7EA5E1 #E17ED6 #E1BA7E #7EE189
square
#7EA5E1 #E17ED6 #E1BA7E #7EE189
split-complementary
#7EA5E1 #E1897E #D6E17E
monochromatic
#2B63B9 #4C82D5 #7EA5E1 #B0C8ED #E1EAF8

Accessibility & contrast

On white

2.51
#7EA5E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#7EA5E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA5E1
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA5E1#FFFFFF#000000##000000
##7EA5E11.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA9E4
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#58B2BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ea5e1;
/* rgb */ color: rgb(126, 165, 225);
/* oklch */ color: oklch(71.7% 0.098 258.8);
Tailwind
colors: {
  custom: {
    50: '#a7bfea',
    500: '#7ea5e1',
    950: '#000000',
  },
}
SCSS
$custom: #7ea5e1;
$custom-light: #a7bfea;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea5e1",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 225
  },
  "hsl": {
    "h": 216.364,
    "s": 62.264,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71692,
    "c": 0.09806,
    "h": 258.8
  },
  "luminance": 0.36782
}

Semantic roles & 50–950 ramp

primary
#7EA5E1
secondary
#ECE1CF
accent
#851BCA
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA5E1

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

Preview Lab → · Contrast checker → · Palette generator →

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