#7EAAFE#7EAAFE

#7EAAFE is a light, vivid blue. Relative luminance 0.403; OKLCH L 74.1% C 0.131 H 262.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7EAAFE
RGBrgb(126, 170, 254)
HSLhsl(219, 98%, 75%)
HSVhsv(219, 50%, 100%)
CMYKcmyk(50.4%, 33.1%, 0%, 0.4%)
CIE-LABlab(69.71, 7.93, -46.23)
CIE-LCHlch(69.71, 46.90, 279.73°)
OKLaboklab(74.13% -0.017 -0.1302)
OKLCHoklch(74.13% 0.131 262.5)
XYZxyz(40.8623, 40.3379, 99.3795)
Luminance0.4034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAAFE #FED27E
analogous
#7EEAFE #7EAAFE #927EFE
triadic
#7EAAFE #FE7EAA #AAFE7E
tetradic
#7EAAFE #FE7EEA #FED27E #7EFE92
square
#7EAAFE #FE7EEA #FED27E #7EFE92
split-complementary
#7EAAFE #FE927E #EAFE7E
monochromatic
#055AFD #4182FE #7EAAFE #BBD2FE #E1EBFF

Accessibility & contrast

On white

2.32
#7EAAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#7EAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAAFE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAAFE#FFFFFF#000000##000000
##7EAAFE1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#42BCC8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7eaafe;
/* rgb */ color: rgb(126, 170, 254);
/* oklch */ color: oklch(74.1% 0.131 262.5);
Tailwind
colors: {
  custom: {
    50: '#aac3ff',
    500: '#7eaafe',
    950: '#000000',
  },
}
SCSS
$custom: #7eaafe;
$custom-light: #aac3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaafe",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 219.375,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74131,
    "c": 0.13132,
    "h": 262.5
  },
  "luminance": 0.40341
}

Semantic roles & 50–950 ramp

primary
#7EAAFE
secondary
#F7EBD4
accent
#9700E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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