#8F98E8#8F98E8

#8F98E8 is a light, moderate blue. Relative luminance 0.341; OKLCH L 70.5% C 0.117 H 278.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8F98E8
RGBrgb(143, 152, 232)
HSLhsl(234, 66%, 74%)
HSVhsv(234, 38%, 91%)
CMYKcmyk(38.4%, 34.5%, 0%, 9%)
CIE-LABlab(65.06, 16.08, -41.43)
CIE-LCHlch(65.06, 44.44, 291.21°)
OKLaboklab(70.48% 0.0164 -0.1161)
OKLCHoklch(70.48% 0.117 278)
XYZxyz(37.1172, 34.1208, 80.9586)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F98E8 #E8DF8F
analogous
#8FC4E8 #8F98E8 #B28FE8
triadic
#8F98E8 #E88F98 #98E88F
tetradic
#8F98E8 #E88FC4 #E8DF8F #8FE8B2
square
#8F98E8 #E88FC4 #E8DF8F #8FE8B2
split-complementary
#8F98E8 #E8B28F #C4E88F
monochromatic
#2B3CD2 #5C69DE #8F98E8 #C2C7F2 #E6E8FA

Accessibility & contrast

On white

2.68
#8F98E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#8F98E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F98E8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F98E8#FFFFFF#000000##000000
##8F98E81.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA1EB
Deuteranopia (green-blind)
#789BE6
Tritanopia (blue-blind)
#75A8B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8f98e8;
/* rgb */ color: rgb(143, 152, 232);
/* oklch */ color: oklch(70.5% 0.117 278.0);
Tailwind
colors: {
  custom: {
    50: '#b3b6ef',
    500: '#8f98e8',
    950: '#000000',
  },
}
SCSS
$custom: #8f98e8;
$custom-light: #b3b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f98e8",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 233.933,
    "s": 65.926,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70478,
    "c": 0.11721,
    "h": 278
  },
  "luminance": 0.34122
}

Semantic roles & 50–950 ramp

primary
#8F98E8
secondary
#F1EFDA
accent
#BB18CE
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8F98E8

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

Preview Lab → · Contrast checker → · Palette generator →

#8F98E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva