#8FA3EC#8FA3EC

#8FA3EC is a light, moderate blue. Relative luminance 0.381; OKLCH L 72.9% C 0.109 H 271.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8FA3EC
RGBrgb(143, 163, 236)
HSLhsl(227, 71%, 74%)
HSVhsv(227, 39%, 93%)
CMYKcmyk(39.4%, 30.9%, 0%, 7.5%)
CIE-LABlab(68.09, 10.88, -38.90)
CIE-LCHlch(68.09, 40.39, 285.63°)
OKLaboklab(72.87% 0.0034 -0.1087)
OKLCHoklch(72.87% 0.109 271.8)
XYZxyz(39.5606, 38.0883, 84.6079)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA3EC #ECD88F
analogous
#8FD2EC #8FA3EC #AA8FEC
triadic
#8FA3EC #EC8FA3 #A3EC8F
tetradic
#8FA3EC #EC8FD2 #ECD88F #8FECAA
square
#8FA3EC #EC8FD2 #ECD88F #8FECAA
split-complementary
#8FA3EC #ECAA8F #D2EC8F
monochromatic
#264DDA #5B78E3 #8FA3EC #C3CEF5 #E5EAFB

Accessibility & contrast

On white

2.44
#8FA3EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#8FA3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA3EC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA3EC#FFFFFF#000000##000000
##8FA3EC1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#72B2BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fa3ec;
/* rgb */ color: rgb(143, 163, 236);
/* oklch */ color: oklch(72.9% 0.109 271.8);
Tailwind
colors: {
  custom: {
    50: '#b3bef2',
    500: '#8fa3ec',
    950: '#000000',
  },
}
SCSS
$custom: #8fa3ec;
$custom-light: #b3bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa3ec",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 227.097,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72874,
    "c": 0.10876,
    "h": 271.8
  },
  "luminance": 0.3809
}

Semantic roles & 50–950 ramp

primary
#8FA3EC
secondary
#F2EDD9
accent
#AA12D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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