#8FA2EC#8FA2EC

#8FA2EC is a light, moderate blue. Relative luminance 0.377; OKLCH L 72.7% C 0.110 H 272.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8FA2EC
RGBrgb(143, 162, 236)
HSLhsl(228, 71%, 74%)
HSVhsv(228, 39%, 93%)
CMYKcmyk(39.4%, 31.4%, 0%, 7.5%)
CIE-LABlab(67.82, 11.45, -39.30)
CIE-LCHlch(67.82, 40.94, 286.24°)
OKLaboklab(72.67% 0.0046 -0.1099)
OKLCHoklch(72.67% 0.11 272.4)
XYZxyz(39.3838, 37.7346, 84.5490)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2EC #ECD98F
analogous
#8FD1EC #8FA2EC #AB8FEC
triadic
#8FA2EC #EC8FA2 #A2EC8F
tetradic
#8FA2EC #EC8FD1 #ECD98F #8FECAB
square
#8FA2EC #EC8FD1 #ECD98F #8FECAB
split-complementary
#8FA2EC #ECAB8F #D1EC8F
monochromatic
#264BDA #5B77E3 #8FA2EC #C3CDF5 #E5E9FB

Accessibility & contrast

On white

2.46
#8FA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#8FA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2EC
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2EC#FFFFFF#000000##000000
##8FA2EC1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#81A2EA
Tritanopia (blue-blind)
#72B1BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fa2ec;
/* rgb */ color: rgb(143, 162, 236);
/* oklch */ color: oklch(72.7% 0.110 272.4);
Tailwind
colors: {
  custom: {
    50: '#b3bdf2',
    500: '#8fa2ec',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2ec;
$custom-light: #b3bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2ec",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 227.742,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72672,
    "c": 0.10998,
    "h": 272.4
  },
  "luminance": 0.37736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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