#8F9EF2#8F9EF2

#8F9EF2 is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.2% C 0.123 H 275.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8F9EF2
RGBrgb(143, 158, 242)
HSLhsl(231, 79%, 75%)
HSVhsv(231, 41%, 95%)
CMYKcmyk(40.9%, 34.7%, 0%, 5.1%)
CIE-LABlab(67.05, 15.38, -43.79)
CIE-LCHlch(67.05, 46.42, 289.35°)
OKLaboklab(72.16% 0.0111 -0.1229)
OKLCHoklch(72.16% 0.123 275.2)
XYZxyz(39.5767, 36.7023, 88.9861)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9EF2 #F2E38F
analogous
#8FCFF2 #8F9EF2 #B18FF2
triadic
#8F9EF2 #F28F9E #9EF28F
tetradic
#8F9EF2 #F28FCF #F2E38F #8FF2B1
square
#8F9EF2 #F28FCF #F2E38F #8FF2B1
split-complementary
#8F9EF2 #F2B18F #CFF28F
monochromatic
#213FE5 #586FEC #8F9EF2 #C6CDF8 #E4E7FC

Accessibility & contrast

On white

2.52
#8F9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#8F9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9EF2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9EF2#FFFFFF#000000##000000
##8F9EF21.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F5
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#6FAFBD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8f9ef2;
/* rgb */ color: rgb(143, 158, 242);
/* oklch */ color: oklch(72.2% 0.123 275.2);
Tailwind
colors: {
  custom: {
    50: '#b3baf6',
    500: '#8f9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #8f9ef2;
$custom-light: #b3baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9ef2",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 230.909,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72163,
    "c": 0.12339,
    "h": 275.2
  },
  "luminance": 0.36704
}

Semantic roles & 50–950 ramp

primary
#8F9EF2
secondary
#F4EFD7
accent
#BC0ADB
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8F9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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