#8998F2#8998F2

#8998F2 is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.6% C 0.133 H 275.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8998F2
RGBrgb(137, 152, 242)
HSLhsl(231, 80%, 74%)
HSVhsv(231, 43%, 95%)
CMYKcmyk(43.4%, 37.2%, 0%, 5.1%)
CIE-LABlab(65.11, 17.33, -46.88)
CIE-LCHlch(65.11, 49.98, 290.29°)
OKLaboklab(70.56% 0.0122 -0.132)
OKLCHoklch(70.56% 0.133 275.3)
XYZxyz(37.5669, 34.1837, 88.6058)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8998F2 #F2E389
analogous
#89CCF2 #8998F2 #AF89F2
triadic
#8998F2 #F28998 #98F289
tetradic
#8998F2 #F289CC #F2E389 #89F2AF
square
#8998F2 #F289CC #F2E389 #89F2AF
split-complementary
#8998F2 #F2AF89 #CCF289
monochromatic
#1B38E6 #5268EC #8998F2 #C0C8F8 #E3E7FC

Accessibility & contrast

On white

2.68
#8998F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#8998F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8998F2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8998F2#FFFFFF#000000##000000
##8998F21.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F6
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#65AABA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8998f2;
/* rgb */ color: rgb(137, 152, 242);
/* oklch */ color: oklch(70.6% 0.133 275.3);
Tailwind
colors: {
  custom: {
    50: '#b0b6f7',
    500: '#8998f2',
    950: '#000000',
  },
}
SCSS
$custom: #8998f2;
$custom-light: #b0b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8998f2",
  "rgb": {
    "r": 137,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 231.429,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70562,
    "c": 0.13257,
    "h": 275.3
  },
  "luminance": 0.34186
}

Semantic roles & 50–950 ramp

primary
#8998F2
secondary
#F4F0D7
accent
#BE09DC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8998F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8998F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva