#7E98EE#7E98EE

#7E98EE is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.6% C 0.130 H 270.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7E98EE
RGBrgb(126, 152, 238)
HSLhsl(226, 77%, 71%)
HSVhsv(226, 47%, 93%)
CMYKcmyk(47.1%, 36.1%, 0%, 6.7%)
CIE-LABlab(64.21, 13.53, -46.14)
CIE-LCHlch(64.21, 48.09, 286.34°)
OKLaboklab(69.63% 0.0001 -0.1301)
OKLCHoklch(69.63% 0.13 270)
XYZxyz(35.2601, 33.0630, 85.3962)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98EE #EED47E
analogous
#7ED0EE #7E98EE #9C7EEE
triadic
#7E98EE #EE7E98 #98EE7E
tetradic
#7E98EE #EE7ED0 #EED47E #7EEE9C
square
#7E98EE #EE7ED0 #EED47E #7EEE9C
split-complementary
#7E98EE #EE9C7E #D0EE7E
monochromatic
#1C47D5 #486DE7 #7E98EE #B4C3F5 #E4E9FB

Accessibility & contrast

On white

2.76
#7E98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7E98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98EE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98EE#FFFFFF#000000##000000
##7E98EE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F1
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#52AAB8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7e98ee;
/* rgb */ color: rgb(126, 152, 238);
/* oklch */ color: oklch(69.6% 0.130 270.0);
Tailwind
colors: {
  custom: {
    50: '#a9b6f4',
    500: '#7e98ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e98ee;
$custom-light: #a9b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98ee",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 226.071,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.13006,
    "h": 270
  },
  "luminance": 0.33065
}

Semantic roles & 50–950 ramp

primary
#7E98EE
secondary
#F2ECD5
accent
#A90DD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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