#7EA1FE#7EA1FE

#7EA1FE is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.3% C 0.141 H 267.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7EA1FE
RGBrgb(126, 161, 254)
HSLhsl(224, 98%, 75%)
HSVhsv(224, 50%, 100%)
CMYKcmyk(50.4%, 36.6%, 0%, 0.4%)
CIE-LABlab(67.34, 13.08, -49.97)
CIE-LCHlch(67.34, 51.65, 284.67°)
OKLaboklab(72.29% -0.0068 -0.1411)
OKLCHoklch(72.29% 0.141 267.2)
XYZxyz(39.2326, 37.0785, 98.8362)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA1FE #FEDB7E
analogous
#7EE1FE #7EA1FE #9B7EFE
triadic
#7EA1FE #FE7EA1 #A1FE7E
tetradic
#7EA1FE #FE7EE1 #FEDB7E #7EFE9B
square
#7EA1FE #FE7EE1 #FEDB7E #7EFE9B
split-complementary
#7EA1FE #FE9B7E #E1FE7E
monochromatic
#0548FD #4175FE #7EA1FE #BBCDFE #E1E9FF

Accessibility & contrast

On white

2.50
#7EA1FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7EA1FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA1FE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA1FE#FFFFFF#000000##000000
##7EA1FE1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#6E9FFC
Tritanopia (blue-blind)
#44B5C3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ea1fe;
/* rgb */ color: rgb(126, 161, 254);
/* oklch */ color: oklch(72.3% 0.141 267.2);
Tailwind
colors: {
  custom: {
    50: '#aabcff',
    500: '#7ea1fe',
    950: '#000000',
  },
}
SCSS
$custom: #7ea1fe;
$custom-light: #aabcff;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea1fe",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 254
  },
  "hsl": {
    "h": 223.594,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72291,
    "c": 0.14131,
    "h": 267.2
  },
  "luminance": 0.37081
}

Semantic roles & 50–950 ramp

primary
#7EA1FE
secondary
#F7EDD4
accent
#A700E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7EA1FE

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

Preview Lab → · Contrast checker → · Palette generator →

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