#8FA2EF#8FA2EF

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

Color values

HEX#8FA2EF
RGBrgb(143, 162, 239)
HSLhsl(228, 75%, 75%)
HSVhsv(228, 40%, 94%)
CMYKcmyk(40.2%, 32.2%, 0%, 6.3%)
CIE-LABlab(67.95, 12.27, -40.74)
CIE-LCHlch(67.95, 42.55, 286.76°)
OKLaboklab(72.82% 0.0054 -0.114)
OKLCHoklch(72.82% 0.114 272.7)
XYZxyz(39.8233, 37.9104, 86.8637)
Luminance0.3791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2EF #EFDC8F
analogous
#8FD2EF #8FA2EF #AC8FEF
triadic
#8FA2EF #EF8FA2 #A2EF8F
tetradic
#8FA2EF #EF8FD2 #EFDC8F #8FEFAC
square
#8FA2EF #EF8FD2 #EFDC8F #8FEFAC
split-complementary
#8FA2EF #EFAC8F #D2EF8F
monochromatic
#2449E0 #5976E7 #8FA2EF #C5CEF7 #E4E9FB

Accessibility & contrast

On white

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

On black

8.58
#8FA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2EF
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2EF#FFFFFF#000000##000000
##8FA2EF1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#70B1BE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fa2ef;
/* rgb */ color: rgb(143, 162, 239);
/* oklch */ color: oklch(72.8% 0.114 272.7);
Tailwind
colors: {
  custom: {
    50: '#b3bdf4',
    500: '#8fa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2ef;
$custom-light: #b3bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2ef",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 228.125,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72815,
    "c": 0.11417,
    "h": 272.7
  },
  "luminance": 0.37912
}

Semantic roles & 50–950 ramp

primary
#8FA2EF
secondary
#F3EED8
accent
#AF0ED7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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