#98A2ED#98A2ED

#98A2ED is a light, moderate blue. Relative luminance 0.386; OKLCH L 73.4% C 0.109 H 277.5°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#98A2ED
RGBrgb(152, 162, 237)
HSLhsl(233, 70%, 76%)
HSVhsv(233, 36%, 93%)
CMYKcmyk(35.9%, 31.6%, 0%, 7.1%)
CIE-LABlab(68.48, 14.11, -38.78)
CIE-LCHlch(68.48, 41.27, 289.99°)
OKLaboklab(73.35% 0.0143 -0.1082)
OKLCHoklch(73.35% 0.109 277.5)
XYZxyz(41.1509, 38.6289, 85.3923)
Luminance0.3863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A2ED #EDE398
analogous
#98CDED #98A2ED #B998ED
triadic
#98A2ED #ED98A2 #A2ED98
tetradic
#98A2ED #ED98CD #EDE398 #98EDB9
square
#98A2ED #ED98CD #EDE398 #98EDB9
split-complementary
#98A2ED #EDB998 #CDED98
monochromatic
#3044DB #6473E4 #98A2ED #CCD1F6 #E5E7FA

Accessibility & contrast

On white

2.41
#98A2ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#98A2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A2ED
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A2ED#FFFFFF#000000##000000
##98A2ED1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAF0
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#80B0BD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98a2ed;
/* rgb */ color: rgb(152, 162, 237);
/* oklch */ color: oklch(73.4% 0.109 277.5);
Tailwind
colors: {
  custom: {
    50: '#b9bdf3',
    500: '#98a2ed',
    950: '#000000',
  },
}
SCSS
$custom: #98a2ed;
$custom-light: #b9bdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#98a2ed",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 237
  },
  "hsl": {
    "h": 232.941,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7335,
    "c": 0.10916,
    "h": 277.5
  },
  "luminance": 0.3863
}

Semantic roles & 50–950 ramp

primary
#98A2ED
secondary
#F2EFD9
accent
#BC13D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #98A2ED

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

Preview Lab → · Contrast checker → · Palette generator →

#98A2ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva