#7EAAFB#7EAAFB

#7EAAFB is a light, vivid blue. Relative luminance 0.402; OKLCH L 74.0% C 0.127 H 262.0°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7EAAFB
RGBrgb(126, 170, 251)
HSLhsl(219, 94%, 74%)
HSVhsv(219, 50%, 98%)
CMYKcmyk(49.8%, 32.3%, 0%, 1.6%)
CIE-LABlab(69.57, 7.04, -44.81)
CIE-LCHlch(69.57, 45.36, 278.93°)
OKLaboklab(73.98% -0.0178 -0.1261)
OKLCHoklch(73.98% 0.127 262)
XYZxyz(40.3857, 40.1473, 96.8692)
Luminance0.4015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAAFB #FBCF7E
analogous
#7EE9FB #7EAAFB #917EFB
triadic
#7EAAFB #FB7EAA #AAFB7E
tetradic
#7EAAFB #FB7EE9 #FBCF7E #7EFB91
square
#7EAAFB #FB7EE9 #FBCF7E #7EFB91
split-complementary
#7EAAFB #FB917E #E9FB7E
monochromatic
#085CF7 #4383F9 #7EAAFB #B9D1FD #E1EBFE

Accessibility & contrast

On white

2.33
#7EAAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#7EAAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAAFB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAAFB#FFFFFF#000000##000000
##7EAAFB1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#7CA5F9
Tritanopia (blue-blind)
#44BCC7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7eaafb;
/* rgb */ color: rgb(126, 170, 251);
/* oklch */ color: oklch(74.0% 0.127 262.0);
Tailwind
colors: {
  custom: {
    50: '#aac3fd',
    500: '#7eaafb',
    950: '#000000',
  },
}
SCSS
$custom: #7eaafb;
$custom-light: #aac3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaafb",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 251
  },
  "hsl": {
    "h": 218.88,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73981,
    "c": 0.12735,
    "h": 262
  },
  "luminance": 0.4015
}

Semantic roles & 50–950 ramp

primary
#7EAAFB
secondary
#F6EAD5
accent
#9500E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EAAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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