#98A7E8#98A7E8

#98A7E8 is a light, moderate blue. Relative luminance 0.401; OKLCH L 74.1% C 0.096 H 273.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#98A7E8
RGBrgb(152, 167, 232)
HSLhsl(229, 63%, 75%)
HSVhsv(229, 34%, 91%)
CMYKcmyk(34.5%, 28%, 0%, 9%)
CIE-LABlab(69.57, 9.97, -34.36)
CIE-LCHlch(69.57, 35.78, 286.19°)
OKLaboklab(74.12% 0.0064 -0.0955)
OKLCHoklch(74.12% 0.096 273.9)
XYZxyz(41.3289, 40.1375, 81.8980)
Luminance0.4014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A7E8 #E8D998
analogous
#98CFE8 #98A7E8 #B198E8
triadic
#98A7E8 #E898A7 #A7E898
tetradic
#98A7E8 #E898CF #E8D998 #98E8B1
square
#98A7E8 #E898CF #E8D998 #98E8B1
split-complementary
#98A7E8 #E8B198 #CFE898
monochromatic
#3452D2 #667CDD #98A7E8 #CAD2F3 #E6EAF9

Accessibility & contrast

On white

2.33
#98A7E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#98A7E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A7E8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A7E8#FFFFFF#000000##000000
##98A7E81.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ADEB
Deuteranopia (green-blind)
#8CA7E6
Tritanopia (blue-blind)
#81B4BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98a7e8;
/* rgb */ color: rgb(152, 167, 232);
/* oklch */ color: oklch(74.1% 0.096 273.9);
Tailwind
colors: {
  custom: {
    50: '#b8c1ef',
    500: '#98a7e8',
    950: '#000000',
  },
}
SCSS
$custom: #98a7e8;
$custom-light: #b8c1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#98a7e8",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 232
  },
  "hsl": {
    "h": 228.75,
    "s": 63.492,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74123,
    "c": 0.09572,
    "h": 273.9
  },
  "luminance": 0.40139
}

Semantic roles & 50–950 ramp

primary
#98A7E8
secondary
#F1EDDA
accent
#AA1ACB
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #98A7E8

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

Preview Lab → · Contrast checker → · Palette generator →

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