#8FA4EF#8FA4EF

#8FA4EF is a light, moderate blue. Relative luminance 0.386; OKLCH L 73.2% C 0.112 H 271.5°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8FA4EF
RGBrgb(143, 164, 239)
HSLhsl(227, 75%, 75%)
HSVhsv(227, 40%, 94%)
CMYKcmyk(40.2%, 31.4%, 0%, 6.3%)
CIE-LABlab(68.48, 11.13, -39.93)
CIE-LCHlch(68.48, 41.45, 285.58°)
OKLaboklab(73.22% 0.0029 -0.1117)
OKLCHoklch(73.22% 0.112 271.5)
XYZxyz(40.1784, 38.6206, 86.9821)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA4EF #EFDA8F
analogous
#8FD4EF #8FA4EF #AA8FEF
triadic
#8FA4EF #EF8FA4 #A4EF8F
tetradic
#8FA4EF #EF8FD4 #EFDA8F #8FEFAA
square
#8FA4EF #EF8FD4 #EFDA8F #8FEFAA
split-complementary
#8FA4EF #EFAA8F #D4EF8F
monochromatic
#244DE0 #5978E7 #8FA4EF #C5D0F7 #E4E9FB

Accessibility & contrast

On white

2.41
#8FA4EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#8FA4EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA4EF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA4EF#FFFFFF#000000##000000
##8FA4EF1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#82A3ED
Tritanopia (blue-blind)
#70B3BF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa4ef;
/* rgb */ color: rgb(143, 164, 239);
/* oklch */ color: oklch(73.2% 0.112 271.5);
Tailwind
colors: {
  custom: {
    50: '#b3bef4',
    500: '#8fa4ef',
    950: '#000000',
  },
}
SCSS
$custom: #8fa4ef;
$custom-light: #b3bef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa4ef",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 239
  },
  "hsl": {
    "h": 226.875,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73219,
    "c": 0.11173,
    "h": 271.5
  },
  "luminance": 0.38623
}

Semantic roles & 50–950 ramp

primary
#8FA4EF
secondary
#F3EDD8
accent
#AB0ED7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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