#8FA1DF#8FA1DF

#8FA1DF is a light, moderate blue. Relative luminance 0.367; OKLCH L 71.9% C 0.093 H 271.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8FA1DF
RGBrgb(143, 161, 223)
HSLhsl(227, 56%, 72%)
HSVhsv(227, 36%, 87%)
CMYKcmyk(35.9%, 27.8%, 0%, 12.5%)
CIE-LABlab(67.02, 8.52, -33.42)
CIE-LCHlch(67.02, 34.49, 284.30°)
OKLaboklab(71.87% 0.0024 -0.0929)
OKLCHoklch(71.87% 0.093 271.5)
XYZxyz(37.3879, 36.6555, 74.9030)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA1DF #DFCD8F
analogous
#8FC9DF #8FA1DF #A58FDF
triadic
#8FA1DF #DF8FA1 #A1DF8F
tetradic
#8FA1DF #DF8FC9 #DFCD8F #8FDFA5
square
#8FA1DF #DF8FC9 #DFCD8F #8FDFA5
split-complementary
#8FA1DF #DFA58F #C9DF8F
monochromatic
#3655BD #5F79D1 #8FA1DF #BFC9ED #E7EBF8

Accessibility & contrast

On white

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

On black

8.33
#8FA1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA1DF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA1DF#FFFFFF#000000##000000
##8FA1DF1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#86A0DE
Tritanopia (blue-blind)
#77ADB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8fa1df;
/* rgb */ color: rgb(143, 161, 223);
/* oklch */ color: oklch(71.9% 0.093 271.5);
Tailwind
colors: {
  custom: {
    50: '#b2bce9',
    500: '#8fa1df',
    950: '#000000',
  },
}
SCSS
$custom: #8fa1df;
$custom-light: #b2bce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa1df",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 223
  },
  "hsl": {
    "h": 226.5,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71867,
    "c": 0.09298,
    "h": 271.5
  },
  "luminance": 0.36657
}

Semantic roles & 50–950 ramp

primary
#8FA1DF
secondary
#EFEADB
accent
#9F22C3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8FA1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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