#7EA7FE#7EA7FE

#7EA7FE is a light, vivid blue. Relative luminance 0.392; OKLCH L 73.5% C 0.135 H 264.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7EA7FE
RGBrgb(126, 167, 254)
HSLhsl(221, 98%, 75%)
HSVhsv(221, 50%, 100%)
CMYKcmyk(50.4%, 34.3%, 0%, 0.4%)
CIE-LABlab(68.91, 9.64, -47.48)
CIE-LCHlch(68.91, 48.45, 281.47°)
OKLaboklab(73.51% -0.0136 -0.1339)
OKLCHoklch(73.51% 0.135 264.2)
XYZxyz(40.3064, 39.2260, 99.1941)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA7FE #FED57E
analogous
#7EE7FE #7EA7FE #957EFE
triadic
#7EA7FE #FE7EA7 #A7FE7E
tetradic
#7EA7FE #FE7EE7 #FED57E #7EFE95
square
#7EA7FE #FE7EE7 #FED57E #7EFE95
split-complementary
#7EA7FE #FE957E #E7FE7E
monochromatic
#0554FD #417EFE #7EA7FE #BBD0FE #E1EAFF

Accessibility & contrast

On white

2.37
#7EA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#7EA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA7FE
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA7FE#FFFFFF#000000##000000
##7EA7FE1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#42BAC7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ea7fe;
/* rgb */ color: rgb(126, 167, 254);
/* oklch */ color: oklch(73.5% 0.135 264.2);
Tailwind
colors: {
  custom: {
    50: '#aac0ff',
    500: '#7ea7fe',
    950: '#000000',
  },
}
SCSS
$custom: #7ea7fe;
$custom-light: #aac0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea7fe",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 220.781,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73513,
    "c": 0.13455,
    "h": 264.2
  },
  "luminance": 0.39229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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