#8FA5EC#8FA5EC

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

Color values

HEX#8FA5EC
RGBrgb(143, 165, 236)
HSLhsl(226, 71%, 74%)
HSVhsv(226, 39%, 93%)
CMYKcmyk(39.4%, 30.1%, 0%, 7.5%)
CIE-LABlab(68.61, 9.75, -38.08)
CIE-LCHlch(68.61, 39.31, 284.36°)
OKLaboklab(73.28% 0.0008 -0.1063)
OKLCHoklch(73.28% 0.106 270.4)
XYZxyz(39.9186, 38.8041, 84.7272)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA5EC #ECD68F
analogous
#8FD4EC #8FA5EC #A88FEC
triadic
#8FA5EC #EC8FA5 #A5EC8F
tetradic
#8FA5EC #EC8FD4 #ECD68F #8FECA8
square
#8FA5EC #EC8FD4 #ECD68F #8FECA8
split-complementary
#8FA5EC #ECA88F #D4EC8F
monochromatic
#2651DA #5B7BE3 #8FA5EC #C3CFF5 #E5EAFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA5EC#FFFFFF#000000##000000
##8FA5EC1.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)
#8DACEF
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#71B3BE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa5ec;
/* rgb */ color: rgb(143, 165, 236);
/* oklch */ color: oklch(73.3% 0.106 270.4);
Tailwind
colors: {
  custom: {
    50: '#b3bff2',
    500: '#8fa5ec',
    950: '#000000',
  },
}
SCSS
$custom: #8fa5ec;
$custom-light: #b3bff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa5ec",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 225.806,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7328,
    "c": 0.10635,
    "h": 270.4
  },
  "luminance": 0.38806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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