#8FA7EC#8FA7EC

#8FA7EC is a light, moderate blue. Relative luminance 0.395; OKLCH L 73.7% C 0.104 H 269.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8FA7EC
RGBrgb(143, 167, 236)
HSLhsl(225, 71%, 74%)
HSVhsv(225, 39%, 93%)
CMYKcmyk(39.4%, 29.2%, 0%, 7.5%)
CIE-LABlab(69.13, 8.61, -37.26)
CIE-LCHlch(69.13, 38.24, 283.02°)
OKLaboklab(73.69% -0.0017 -0.104)
OKLCHoklch(73.69% 0.104 269.1)
XYZxyz(40.2821, 39.5313, 84.8484)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7EC #ECD48F
analogous
#8FD6EC #8FA7EC #A68FEC
triadic
#8FA7EC #EC8FA7 #A7EC8F
tetradic
#8FA7EC #EC8FD6 #ECD48F #8FECA6
square
#8FA7EC #EC8FD6 #ECD48F #8FECA6
split-complementary
#8FA7EC #ECA68F #D6EC8F
monochromatic
#2655DA #5B7EE3 #8FA7EC #C3D0F5 #E5EAFB

Accessibility & contrast

On white

2.36
#8FA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#8FA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7EC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7EC#FFFFFF#000000##000000
##8FA7EC1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEF
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#71B5BF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8fa7ec;
/* rgb */ color: rgb(143, 167, 236);
/* oklch */ color: oklch(73.7% 0.104 269.1);
Tailwind
colors: {
  custom: {
    50: '#b3c0f2',
    500: '#8fa7ec',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7ec;
$custom-light: #b3c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7ec",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 224.516,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73688,
    "c": 0.104,
    "h": 269.1
  },
  "luminance": 0.39533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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