#8FA6EC#8FA6EC

#8FA6EC is a light, moderate blue. Relative luminance 0.392; OKLCH L 73.5% C 0.105 H 269.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8FA6EC
RGBrgb(143, 166, 236)
HSLhsl(225, 71%, 74%)
HSVhsv(225, 39%, 93%)
CMYKcmyk(39.4%, 29.7%, 0%, 7.5%)
CIE-LABlab(68.87, 9.18, -37.67)
CIE-LCHlch(68.87, 38.77, 283.69°)
OKLaboklab(73.48% -0.0004 -0.1052)
OKLCHoklch(73.48% 0.105 269.8)
XYZxyz(40.0996, 39.1663, 84.7876)
Luminance0.3917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA6EC #ECD58F
analogous
#8FD5EC #8FA6EC #A78FEC
triadic
#8FA6EC #EC8FA6 #A6EC8F
tetradic
#8FA6EC #EC8FD5 #ECD58F #8FECA7
square
#8FA6EC #EC8FD5 #ECD58F #8FECA7
split-complementary
#8FA6EC #ECA78F #D5EC8F
monochromatic
#2653DA #5B7CE3 #8FA6EC #C3D0F5 #E5EAFB

Accessibility & contrast

On white

2.38
#8FA6EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#8FA6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA6EC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA6EC#FFFFFF#000000##000000
##8FA6EC1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#71B4BF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8fa6ec;
/* rgb */ color: rgb(143, 166, 236);
/* oklch */ color: oklch(73.5% 0.105 269.8);
Tailwind
colors: {
  custom: {
    50: '#b3c0f2',
    500: '#8fa6ec',
    950: '#000000',
  },
}
SCSS
$custom: #8fa6ec;
$custom-light: #b3c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa6ec",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 236
  },
  "hsl": {
    "h": 225.161,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73484,
    "c": 0.10517,
    "h": 269.8
  },
  "luminance": 0.39168
}

Semantic roles & 50–950 ramp

primary
#8FA6EC
secondary
#F2ECD9
accent
#A312D3
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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