#98AFEF#98AFEF

#98AFEF is a light, moderate blue. Relative luminance 0.436; OKLCH L 76.1% C 0.096 H 268.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#98AFEF
RGBrgb(152, 175, 239)
HSLhsl(224, 73%, 77%)
HSVhsv(224, 36%, 94%)
CMYKcmyk(36.4%, 26.8%, 0%, 6.3%)
CIE-LABlab(71.94, 7.32, -34.50)
CIE-LCHlch(71.94, 35.27, 281.98°)
OKLaboklab(76.06% -0.0019 -0.0959)
OKLCHoklch(76.06% 0.096 268.8)
XYZxyz(43.8542, 43.5654, 87.7429)
Luminance0.4357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AFEF #EFD898
analogous
#98DBEF #98AFEF #AD98EF
triadic
#98AFEF #EF98AF #AFEF98
tetradic
#98AFEF #EF98DB #EFD898 #98EFAD
square
#98AFEF #EF98DB #EFD898 #98EFAD
split-complementary
#98AFEF #EFAD98 #DBEF98
monochromatic
#2E5DDF #6386E7 #98AFEF #CDD8F7 #E5EAFB

Accessibility & contrast

On white

2.16
#98AFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#98AFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AFEF
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AFEF#FFFFFF#000000##000000
##98AFEF1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB4F2
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#7EBCC5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #98afef;
/* rgb */ color: rgb(152, 175, 239);
/* oklch */ color: oklch(76.1% 0.096 268.8);
Tailwind
colors: {
  custom: {
    50: '#b9c6f4',
    500: '#98afef',
    950: '#000000',
  },
}
SCSS
$custom: #98afef;
$custom-light: #b9c6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#98afef",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 224.138,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76057,
    "c": 0.09594,
    "h": 268.8
  },
  "luminance": 0.43567
}

Semantic roles & 50–950 ramp

primary
#98AFEF
secondary
#F3ECD8
accent
#A110D5
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#121317
muted
#818285

Preview Lab

Preview with #98AFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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