#8FA7DF#8FA7DF

#8FA7DF is a light, moderate blue. Relative luminance 0.388; OKLCH L 73.1% C 0.086 H 266.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8FA7DF
RGBrgb(143, 167, 223)
HSLhsl(222, 56%, 72%)
HSVhsv(222, 36%, 87%)
CMYKcmyk(35.9%, 25.1%, 0%, 12.5%)
CIE-LABlab(68.61, 5.14, -30.96)
CIE-LCHlch(68.61, 31.38, 279.42°)
OKLaboklab(73.11% -0.0054 -0.0859)
OKLCHoklch(73.11% 0.086 266.4)
XYZxyz(38.4617, 38.8031, 75.2609)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7DF #DFC78F
analogous
#8FCFDF #8FA7DF #9F8FDF
triadic
#8FA7DF #DF8FA7 #A7DF8F
tetradic
#8FA7DF #DF8FCF #DFC78F #8FDF9F
square
#8FA7DF #DF8FCF #DFC78F #8FDF9F
split-complementary
#8FA7DF #DF9F8F #CFDF8F
monochromatic
#365FBD #5F82D1 #8FA7DF #BFCCED #E7ECF8

Accessibility & contrast

On white

2.40
#8FA7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#8FA7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7DF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7DF#FFFFFF#000000##000000
##8FA7DF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ABE1
Deuteranopia (green-blind)
#8DA4DE
Tritanopia (blue-blind)
#77B2BA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa7df;
/* rgb */ color: rgb(143, 167, 223);
/* oklch */ color: oklch(73.1% 0.086 266.4);
Tailwind
colors: {
  custom: {
    50: '#b2c1e9',
    500: '#8fa7df',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7df;
$custom-light: #b2c1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7df",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 222,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73105,
    "c": 0.08608,
    "h": 266.4
  },
  "luminance": 0.38805
}

Semantic roles & 50–950 ramp

primary
#8FA7DF
secondary
#EFE9DB
accent
#9322C3
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8FA7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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