#8FA7EF#8FA7EF

#8FA7EF is a light, moderate blue. Relative luminance 0.397; OKLCH L 73.8% C 0.108 H 269.5°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8FA7EF
RGBrgb(143, 167, 239)
HSLhsl(225, 75%, 75%)
HSVhsv(225, 40%, 94%)
CMYKcmyk(40.2%, 30.1%, 0%, 6.3%)
CIE-LABlab(69.26, 9.43, -38.70)
CIE-LCHlch(69.26, 39.84, 283.70°)
OKLaboklab(73.83% -0.0009 -0.1081)
OKLCHoklch(73.83% 0.108 269.5)
XYZxyz(40.7216, 39.7071, 87.1632)
Luminance0.3971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7EF #EFD78F
analogous
#8FD7EF #8FA7EF #A78FEF
triadic
#8FA7EF #EF8FA7 #A7EF8F
tetradic
#8FA7EF #EF8FD7 #EFD78F #8FEFA7
square
#8FA7EF #EF8FD7 #EFD78F #8FEFA7
split-complementary
#8FA7EF #EFA78F #D7EF8F
monochromatic
#2453E0 #597DE7 #8FA7EF #C5D1F7 #E4EAFB

Accessibility & contrast

On white

2.35
#8FA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#8FA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7EF
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7EF#FFFFFF#000000##000000
##8FA7EF1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF2
Deuteranopia (green-blind)
#86A5ED
Tritanopia (blue-blind)
#70B6C1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8fa7ef;
/* rgb */ color: rgb(143, 167, 239);
/* oklch */ color: oklch(73.8% 0.108 269.5);
Tailwind
colors: {
  custom: {
    50: '#b3c0f4',
    500: '#8fa7ef',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7ef;
$custom-light: #b3c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7ef",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 225,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73827,
    "c": 0.10815,
    "h": 269.5
  },
  "luminance": 0.39709
}

Semantic roles & 50–950 ramp

primary
#8FA7EF
secondary
#F3ECD8
accent
#A50ED7
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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