#8FA1EF#8FA1EF

#8FA1EF is a light, moderate blue. Relative luminance 0.376; OKLCH L 72.6% C 0.115 H 273.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8FA1EF
RGBrgb(143, 161, 239)
HSLhsl(229, 75%, 75%)
HSVhsv(229, 40%, 94%)
CMYKcmyk(40.2%, 32.6%, 0%, 6.3%)
CIE-LABlab(67.69, 12.84, -41.15)
CIE-LCHlch(67.69, 43.10, 287.33°)
OKLaboklab(72.61% 0.0067 -0.1152)
OKLCHoklch(72.61% 0.115 273.3)
XYZxyz(39.6479, 37.5595, 86.8052)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA1EF #EFDD8F
analogous
#8FD1EF #8FA1EF #AD8FEF
triadic
#8FA1EF #EF8FA1 #A1EF8F
tetradic
#8FA1EF #EF8FD1 #EFDD8F #8FEFAD
square
#8FA1EF #EF8FD1 #EFDD8F #8FEFAD
split-complementary
#8FA1EF #EFAD8F #D1EF8F
monochromatic
#2447E0 #5974E7 #8FA1EF #C5CEF7 #E4E9FB

Accessibility & contrast

On white

2.47
#8FA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#8FA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA1EF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA1EF#FFFFFF#000000##000000
##8FA1EF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#7FA1ED
Tritanopia (blue-blind)
#70B1BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fa1ef;
/* rgb */ color: rgb(143, 161, 239);
/* oklch */ color: oklch(72.6% 0.115 273.3);
Tailwind
colors: {
  custom: {
    50: '#b3bcf4',
    500: '#8fa1ef',
    950: '#000000',
  },
}
SCSS
$custom: #8fa1ef;
$custom-light: #b3bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa1ef",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 228.75,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72614,
    "c": 0.11541,
    "h": 273.3
  },
  "luminance": 0.37561
}

Semantic roles & 50–950 ramp

primary
#8FA1EF
secondary
#F3EED8
accent
#B20ED7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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