#8FA2EE#8FA2EE

#8FA2EE is a light, moderate blue. Relative luminance 0.379; OKLCH L 72.8% C 0.113 H 272.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8FA2EE
RGBrgb(143, 162, 238)
HSLhsl(228, 74%, 75%)
HSVhsv(228, 40%, 93%)
CMYKcmyk(39.9%, 31.9%, 0%, 6.7%)
CIE-LABlab(67.91, 11.99, -40.26)
CIE-LCHlch(67.91, 42.01, 286.59°)
OKLaboklab(72.77% 0.0051 -0.1127)
OKLCHoklch(72.77% 0.113 272.6)
XYZxyz(39.6760, 37.8515, 86.0878)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2EE #EEDB8F
analogous
#8FD2EE #8FA2EE #AC8FEE
triadic
#8FA2EE #EE8FA2 #A2EE8F
tetradic
#8FA2EE #EE8FD2 #EEDB8F #8FEEAC
square
#8FA2EE #EE8FD2 #EEDB8F #8FEEAC
split-complementary
#8FA2EE #EEAC8F #D2EE8F
monochromatic
#254ADE #5A76E6 #8FA2EE #C4CEF6 #E4E9FB

Accessibility & contrast

On white

2.45
#8FA2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#8FA2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2EE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2EE#FFFFFF#000000##000000
##8FA2EE1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF1
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#71B1BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fa2ee;
/* rgb */ color: rgb(143, 162, 238);
/* oklch */ color: oklch(72.8% 0.113 272.6);
Tailwind
colors: {
  custom: {
    50: '#b3bdf4',
    500: '#8fa2ee',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2ee;
$custom-light: #b3bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2ee",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 228,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72767,
    "c": 0.11278,
    "h": 272.6
  },
  "luminance": 0.37853
}

Semantic roles & 50–950 ramp

primary
#8FA2EE
secondary
#F3EDD8
accent
#AE10D6
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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