#998EEF#998EEF

#998EEF is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.7% C 0.140 H 287.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#998EEF
RGBrgb(153, 142, 239)
HSLhsl(247, 75%, 75%)
HSVhsv(247, 41%, 94%)
CMYKcmyk(36%, 40.6%, 0%, 6.3%)
CIE-LABlab(63.63, 26.35, -47.48)
CIE-LCHlch(63.63, 54.31, 299.03°)
OKLaboklab(69.68% 0.0418 -0.1334)
OKLCHoklch(69.68% 0.14 287.4)
XYZxyz(38.3856, 32.3492, 85.8662)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EEF #E4EF8E
analogous
#8EB4EF #998EEF #CA8EEF
triadic
#998EEF #EF998E #8EEF99
tetradic
#998EEF #EF8EB4 #E4EF8E #8EEFCA
square
#998EEF #EF8EB4 #E4EF8E #8EEFCA
split-complementary
#998EEF #EFCA8E #B4EF8E
monochromatic
#3823E0 #6958E7 #998EEF #C9C4F7 #E7E4FB

Accessibility & contrast

On white

2.81
#998EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#998EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998EEF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EEF#FFFFFF#000000##000000
##998EEF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#6D98ED
Tritanopia (blue-blind)
#82A1B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998eef;
/* rgb */ color: rgb(153, 142, 239);
/* oklch */ color: oklch(69.7% 0.140 287.4);
Tailwind
colors: {
  custom: {
    50: '#baaff4',
    500: '#998eef',
    950: '#000000',
  },
}
SCSS
$custom: #998eef;
$custom-light: #baaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#998eef",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 246.804,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69679,
    "c": 0.13983,
    "h": 287.4
  },
  "luminance": 0.3235
}

Semantic roles & 50–950 ramp

primary
#998EEF
secondary
#F0F3D8
accent
#D70EC1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #998EEF

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

Preview Lab → · Contrast checker → · Palette generator →

#998EEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva