#7E98EF#7E98EF

#7E98EF is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.7% C 0.131 H 270.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7E98EF
RGBrgb(126, 152, 239)
HSLhsl(226, 78%, 72%)
HSVhsv(226, 47%, 94%)
CMYKcmyk(47.3%, 36.4%, 0%, 6.3%)
CIE-LABlab(64.26, 13.82, -46.62)
CIE-LCHlch(64.26, 48.62, 286.51°)
OKLaboklab(69.68% 0.0003 -0.1314)
OKLCHoklch(69.68% 0.131 270.1)
XYZxyz(35.4074, 33.1219, 86.1721)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98EF #EFD57E
analogous
#7ED1EF #7E98EF #9D7EEF
triadic
#7E98EF #EF7E98 #98EF7E
tetradic
#7E98EF #EF7ED1 #EFD57E #7EEF9D
square
#7E98EF #EF7ED1 #EFD57E #7EEF9D
split-complementary
#7E98EF #EF9D7E #D1EF7E
monochromatic
#1B46D8 #486DE8 #7E98EF #B4C3F6 #E4E9FC

Accessibility & contrast

On white

2.75
#7E98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7E98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98EF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98EF#FFFFFF#000000##000000
##7E98EF1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#6C97ED
Tritanopia (blue-blind)
#52AAB8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7e98ef;
/* rgb */ color: rgb(126, 152, 239);
/* oklch */ color: oklch(69.7% 0.131 270.1);
Tailwind
colors: {
  custom: {
    50: '#a9b6f4',
    500: '#7e98ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e98ef;
$custom-light: #a9b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98ef",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 226.195,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6968,
    "c": 0.13144,
    "h": 270.1
  },
  "luminance": 0.33124
}

Semantic roles & 50–950 ramp

primary
#7E98EF
secondary
#F3ECD6
accent
#AB0BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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