#7E98E5#7E98E5

#7E98E5 is a light, moderate blue. Relative luminance 0.325; OKLCH L 69.2% C 0.118 H 269.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7E98E5
RGBrgb(126, 152, 229)
HSLhsl(225, 66%, 70%)
HSVhsv(225, 45%, 90%)
CMYKcmyk(45%, 33.6%, 0%, 10.2%)
CIE-LABlab(63.79, 10.90, -41.84)
CIE-LCHlch(63.79, 43.24, 284.60°)
OKLaboklab(69.17% -0.002 -0.1175)
OKLCHoklch(69.17% 0.118 269)
XYZxyz(33.9708, 32.5473, 78.6058)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98E5 #E5CB7E
analogous
#7ECCE5 #7E98E5 #977EE5
triadic
#7E98E5 #E57E98 #98E57E
tetradic
#7E98E5 #E57ECC #E5CB7E #7EE597
square
#7E98E5 #E57ECC #E5CB7E #7EE597
split-complementary
#7E98E5 #E5977E #CCE57E
monochromatic
#274EC2 #4B6FDB #7E98E5 #B1C1EF #E4E9FA

Accessibility & contrast

On white

2.80
#7E98E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7E98E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98E5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98E5#FFFFFF#000000##000000
##7E98E51.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE8
Deuteranopia (green-blind)
#7296E3
Tritanopia (blue-blind)
#58A8B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7e98e5;
/* rgb */ color: rgb(126, 152, 229);
/* oklch */ color: oklch(69.2% 0.118 269.0);
Tailwind
colors: {
  custom: {
    50: '#a8b6ed',
    500: '#7e98e5',
    950: '#000000',
  },
}
SCSS
$custom: #7e98e5;
$custom-light: #a8b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98e5",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 224.854,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69166,
    "c": 0.11757,
    "h": 269
  },
  "luminance": 0.32549
}

Semantic roles & 50–950 ramp

primary
#7E98E5
secondary
#EEE7D1
accent
#A017CE
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E98E5

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

Preview Lab → · Contrast checker → · Palette generator →

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