#8FA6EF#8FA6EF

#8FA6EF is a light, moderate blue. Relative luminance 0.393; OKLCH L 73.6% C 0.109 H 270.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8FA6EF
RGBrgb(143, 166, 239)
HSLhsl(226, 75%, 75%)
HSVhsv(226, 40%, 94%)
CMYKcmyk(40.2%, 30.5%, 0%, 6.3%)
CIE-LABlab(69.00, 10.00, -39.11)
CIE-LCHlch(69.00, 40.37, 284.34°)
OKLaboklab(73.62% 0.0004 -0.1093)
OKLCHoklch(73.62% 0.109 270.2)
XYZxyz(40.5391, 39.3421, 87.1023)
Luminance0.3934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA6EF #EFD88F
analogous
#8FD6EF #8FA6EF #A88FEF
triadic
#8FA6EF #EF8FA6 #A6EF8F
tetradic
#8FA6EF #EF8FD6 #EFD88F #8FEFA8
square
#8FA6EF #EF8FD6 #EFD88F #8FEFA8
split-complementary
#8FA6EF #EFA88F #D6EF8F
monochromatic
#2451E0 #597BE7 #8FA6EF #C5D1F7 #E4EAFB

Accessibility & contrast

On white

2.37
#8FA6EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#8FA6EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA6EF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA6EF#FFFFFF#000000##000000
##8FA6EF1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#84A5ED
Tritanopia (blue-blind)
#70B5C0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8fa6ef;
/* rgb */ color: rgb(143, 166, 239);
/* oklch */ color: oklch(73.6% 0.109 270.2);
Tailwind
colors: {
  custom: {
    50: '#b3c0f4',
    500: '#8fa6ef',
    950: '#000000',
  },
}
SCSS
$custom: #8fa6ef;
$custom-light: #b3c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa6ef",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 239
  },
  "hsl": {
    "h": 225.625,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73624,
    "c": 0.10933,
    "h": 270.2
  },
  "luminance": 0.39344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA6EF

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

Preview Lab → · Contrast checker → · Palette generator →

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