#7D98EE#7D98EE

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

Color values

HEX#7D98EE
RGBrgb(125, 152, 238)
HSLhsl(226, 77%, 71%)
HSVhsv(226, 47%, 93%)
CMYKcmyk(47.5%, 36.1%, 0%, 6.7%)
CIE-LABlab(64.15, 13.29, -46.24)
CIE-LCHlch(64.15, 48.12, 286.04°)
OKLaboklab(69.56% -0.0009 -0.1304)
OKLCHoklch(69.56% 0.13 269.6)
XYZxyz(35.1134, 32.9874, 85.3893)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98EE #EED37D
analogous
#7DD0EE #7D98EE #9A7DEE
triadic
#7D98EE #EE7D98 #98EE7D
tetradic
#7D98EE #EE7DD0 #EED37D #7DEE9A
square
#7D98EE #EE7DD0 #EED37D #7DEE9A
split-complementary
#7D98EE #EE9A7D #D0EE7D
monochromatic
#1C48D5 #476DE7 #7D98EE #B3C3F5 #E4EAFB

Accessibility & contrast

On white

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

On black

7.60
#7D98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98EE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98EE#FFFFFF#000000##000000
##7D98EE1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F1
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#50AAB8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7d98ee;
/* rgb */ color: rgb(125, 152, 238);
/* oklch */ color: oklch(69.6% 0.130 269.6);
Tailwind
colors: {
  custom: {
    50: '#a8b6f4',
    500: '#7d98ee',
    950: '#000000',
  },
}
SCSS
$custom: #7d98ee;
$custom-light: #a8b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98ee",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 225.664,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69564,
    "c": 0.13037,
    "h": 269.6
  },
  "luminance": 0.32989
}

Semantic roles & 50–950 ramp

primary
#7D98EE
secondary
#F2EBD5
accent
#A80CD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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