#98AFEB#98AFEB

#98AFEB is a light, moderate blue. Relative luminance 0.433; OKLCH L 75.9% C 0.090 H 268.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#98AFEB
RGBrgb(152, 175, 235)
HSLhsl(223, 67%, 76%)
HSVhsv(223, 35%, 92%)
CMYKcmyk(35.3%, 25.5%, 0%, 7.8%)
CIE-LABlab(71.78, 6.28, -32.57)
CIE-LCHlch(71.78, 33.17, 280.91°)
OKLaboklab(75.88% -0.0031 -0.0904)
OKLCHoklch(75.88% 0.09 268)
XYZxyz(43.2698, 43.3317, 84.6651)
Luminance0.4333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AFEB #EBD498
analogous
#98D9EB #98AFEB #AA98EB
triadic
#98AFEB #EB98AF #AFEB98
tetradic
#98AFEB #EB98D9 #EBD498 #98EBAA
square
#98AFEB #EB98D9 #EBD498 #98EBAA
split-complementary
#98AFEB #EBAA98 #D9EB98
monochromatic
#325FD7 #6587E1 #98AFEB #CBD7F5 #E5EBFA

Accessibility & contrast

On white

2.17
#98AFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#98AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AFEB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AFEB#FFFFFF#000000##000000
##98AFEB1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB4EE
Deuteranopia (green-blind)
#94ADEA
Tritanopia (blue-blind)
#7FBBC4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #98afeb;
/* rgb */ color: rgb(152, 175, 235);
/* oklch */ color: oklch(75.9% 0.090 268.0);
Tailwind
colors: {
  custom: {
    50: '#b8c6f1',
    500: '#98afeb',
    950: '#000000',
  },
}
SCSS
$custom: #98afeb;
$custom-light: #b8c6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#98afeb",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 223.373,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75883,
    "c": 0.09044,
    "h": 268
  },
  "luminance": 0.43334
}

Semantic roles & 50–950 ramp

primary
#98AFEB
secondary
#F2EBD9
accent
#9C16CF
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#121316
muted
#818284

Preview Lab

Preview with #98AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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