#7EA8FE#7EA8FE

#7EA8FE is a light, vivid blue. Relative luminance 0.396; OKLCH L 73.7% C 0.133 H 263.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7EA8FE
RGBrgb(126, 168, 254)
HSLhsl(220, 98%, 75%)
HSVhsv(220, 50%, 100%)
CMYKcmyk(50.4%, 33.9%, 0%, 0.4%)
CIE-LABlab(69.18, 9.07, -47.06)
CIE-LCHlch(69.18, 47.93, 280.91°)
OKLaboklab(73.72% -0.0148 -0.1326)
OKLCHoklch(73.72% 0.133 263.7)
XYZxyz(40.4903, 39.5938, 99.2554)
Luminance0.3960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA8FE #FED47E
analogous
#7EE8FE #7EA8FE #947EFE
triadic
#7EA8FE #FE7EA8 #A8FE7E
tetradic
#7EA8FE #FE7EE8 #FED47E #7EFE94
square
#7EA8FE #FE7EE8 #FED47E #7EFE94
split-complementary
#7EA8FE #FE947E #E8FE7E
monochromatic
#0556FD #417FFE #7EA8FE #BBD1FE #E1EBFF

Accessibility & contrast

On white

2.35
#7EA8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#7EA8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA8FE
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA8FE#FFFFFF#000000##000000
##7EA8FE1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#78A4FC
Tritanopia (blue-blind)
#42BBC7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7ea8fe;
/* rgb */ color: rgb(126, 168, 254);
/* oklch */ color: oklch(73.7% 0.133 263.7);
Tailwind
colors: {
  custom: {
    50: '#aac1ff',
    500: '#7ea8fe',
    950: '#000000',
  },
}
SCSS
$custom: #7ea8fe;
$custom-light: #aac1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea8fe",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 220.313,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73719,
    "c": 0.13346,
    "h": 263.7
  },
  "luminance": 0.39597
}

Semantic roles & 50–950 ramp

primary
#7EA8FE
secondary
#F7ECD4
accent
#9A00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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