#98AFF2#98AFF2

#98AFF2 is a light, moderate blue. Relative luminance 0.437; OKLCH L 76.2% C 0.100 H 269.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#98AFF2
RGBrgb(152, 175, 242)
HSLhsl(225, 78%, 77%)
HSVhsv(225, 37%, 95%)
CMYKcmyk(37.2%, 27.7%, 0%, 5.1%)
CIE-LABlab(72.06, 8.11, -35.94)
CIE-LCHlch(72.06, 36.85, 282.72°)
OKLaboklab(76.19% -0.0011 -0.1)
OKLCHoklch(76.19% 0.1 269.4)
XYZxyz(44.3011, 43.7442, 90.0964)
Luminance0.4375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AFF2 #F2DB98
analogous
#98DCF2 #98AFF2 #AE98F2
triadic
#98AFF2 #F298AF #AFF298
tetradic
#98AFF2 #F298DC #F2DB98 #98F2AE
square
#98AFF2 #F298DC #F2DB98 #98F2AE
split-complementary
#98AFF2 #F2AE98 #DCF298
monochromatic
#2B5BE4 #6285EB #98AFF2 #CED9F9 #E4EAFC

Accessibility & contrast

On white

2.15
#98AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#98AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AFF2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AFF2#FFFFFF#000000##000000
##98AFF21.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B5F5
Deuteranopia (green-blind)
#91ADF0
Tritanopia (blue-blind)
#7CBCC6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #98aff2;
/* rgb */ color: rgb(152, 175, 242);
/* oklch */ color: oklch(76.2% 0.100 269.4);
Tailwind
colors: {
  custom: {
    50: '#b9c6f6',
    500: '#98aff2',
    950: '#000000',
  },
}
SCSS
$custom: #98aff2;
$custom-light: #b9c6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#98aff2",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 224.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7619,
    "c": 0.10006,
    "h": 269.4
  },
  "luminance": 0.43746
}

Semantic roles & 50–950 ramp

primary
#98AFF2
secondary
#F3ECD8
accent
#A50CDA
background
#FBFCFF
surface
#F6F8FE
border
#D0D1D6
text
#121317
muted
#818285

Preview Lab

Preview with #98AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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