#98B7F8#98B7F8

#98B7F8 is a light, moderate blue. Relative luminance 0.473; OKLCH L 78.1% C 0.099 H 264.5°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#98B7F8
RGBrgb(152, 183, 248)
HSLhsl(221, 87%, 78%)
HSVhsv(221, 39%, 97%)
CMYKcmyk(38.7%, 26.2%, 0%, 2.7%)
CIE-LABlab(74.39, 5.26, -35.57)
CIE-LCHlch(74.39, 35.95, 278.41°)
OKLaboklab(78.09% -0.0095 -0.099)
OKLCHoklch(78.09% 0.099 264.5)
XYZxyz(46.8204, 47.3174, 95.4549)
Luminance0.4732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B7F8 #F8D998
analogous
#98E7F8 #98B7F8 #A998F8
triadic
#98B7F8 #F898B7 #B7F898
tetradic
#98B7F8 #F898E7 #F8D998 #98F8A9
square
#98B7F8 #F898E7 #F8D998 #98F8A9
split-complementary
#98B7F8 #F8A998 #E7F898
monochromatic
#2567F0 #5F8FF4 #98B7F8 #D1DFFC #E2EBFD

Accessibility & contrast

On white

2.01
#98B7F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#98B7F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B7F8
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B7F8#FFFFFF#000000##000000
##98B7F81.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFB
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#79C4CE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #98b7f8;
/* rgb */ color: rgb(152, 183, 248);
/* oklch */ color: oklch(78.1% 0.099 264.5);
Tailwind
colors: {
  custom: {
    50: '#b9ccfa',
    500: '#98b7f8',
    950: '#000000',
  },
}
SCSS
$custom: #98b7f8;
$custom-light: #b9ccfa;
$custom-dark: #000000;
JSON
{
  "hex": "#98b7f8",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 248
  },
  "hsl": {
    "h": 220.625,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78088,
    "c": 0.09943,
    "h": 264.5
  },
  "luminance": 0.4732
}

Semantic roles & 50–950 ramp

primary
#98B7F8
secondary
#F5EBD6
accent
#9B02E4
background
#FBFCFF
surface
#F6F8FF
border
#D0D1D7
text
#121317
muted
#818285

Preview Lab

Preview with #98B7F8

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

Preview Lab → · Contrast checker → · Palette generator →

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