#8F98E5#8F98E5

#8F98E5 is a light, moderate blue. Relative luminance 0.340; OKLCH L 70.3% C 0.113 H 278.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8F98E5
RGBrgb(143, 152, 229)
HSLhsl(234, 62%, 73%)
HSVhsv(234, 38%, 90%)
CMYKcmyk(37.6%, 33.6%, 0%, 10.2%)
CIE-LABlab(64.92, 15.26, -39.99)
CIE-LCHlch(64.92, 42.80, 290.89°)
OKLaboklab(70.33% 0.0157 -0.1119)
OKLCHoklch(70.33% 0.113 278)
XYZxyz(36.6947, 33.9518, 78.7335)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F98E5 #E5DC8F
analogous
#8FC3E5 #8F98E5 #B18FE5
triadic
#8F98E5 #E58F98 #98E58F
tetradic
#8F98E5 #E58FC3 #E5DC8F #8FE5B1
square
#8F98E5 #E58FC3 #E5DC8F #8FE5B1
split-complementary
#8F98E5 #E5B18F #C3E58F
monochromatic
#2F3FCB #5D6AD9 #8F98E5 #C1C6F1 #E6E8F9

Accessibility & contrast

On white

2.70
#8F98E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#8F98E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F98E5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F98E5#FFFFFF#000000##000000
##8F98E51.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA1E8
Deuteranopia (green-blind)
#799AE3
Tritanopia (blue-blind)
#76A7B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8f98e5;
/* rgb */ color: rgb(143, 152, 229);
/* oklch */ color: oklch(70.3% 0.113 278.0);
Tailwind
colors: {
  custom: {
    50: '#b2b6ed',
    500: '#8f98e5',
    950: '#000000',
  },
}
SCSS
$custom: #8f98e5;
$custom-light: #b2b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f98e5",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 233.721,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7033,
    "c": 0.11297,
    "h": 278
  },
  "luminance": 0.33953
}

Semantic roles & 50–950 ramp

primary
#8F98E5
secondary
#F1EEDA
accent
#B81BCA
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8F98E5

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

Preview Lab → · Contrast checker → · Palette generator →

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