#8FA2DF#8FA2DF

#8FA2DF is a light, moderate blue. Relative luminance 0.370; OKLCH L 72.1% C 0.092 H 270.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8FA2DF
RGBrgb(143, 162, 223)
HSLhsl(226, 56%, 72%)
HSVhsv(226, 36%, 87%)
CMYKcmyk(35.9%, 27.4%, 0%, 12.5%)
CIE-LABlab(67.28, 7.95, -33.01)
CIE-LCHlch(67.28, 33.95, 283.55°)
OKLaboklab(72.07% 0.0011 -0.0918)
OKLCHoklch(72.07% 0.092 270.7)
XYZxyz(37.5634, 37.0064, 74.9615)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2DF #DFCC8F
analogous
#8FCADF #8FA2DF #A48FDF
triadic
#8FA2DF #DF8FA2 #A2DF8F
tetradic
#8FA2DF #DF8FCA #DFCC8F #8FDFA4
square
#8FA2DF #DF8FCA #DFCC8F #8FDFA4
split-complementary
#8FA2DF #DFA48F #CADF8F
monochromatic
#3656BD #5F7AD1 #8FA2DF #BFCAED #E7EBF8

Accessibility & contrast

On white

2.50
#8FA2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#8FA2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2DF
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2DF#FFFFFF#000000##000000
##8FA2DF1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E2
Deuteranopia (green-blind)
#87A1DE
Tritanopia (blue-blind)
#77AEB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8fa2df;
/* rgb */ color: rgb(143, 162, 223);
/* oklch */ color: oklch(72.1% 0.092 270.7);
Tailwind
colors: {
  custom: {
    50: '#b2bde9',
    500: '#8fa2df',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2df;
$custom-light: #b2bde9;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2df",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 225.75,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72072,
    "c": 0.09179,
    "h": 270.7
  },
  "luminance": 0.37008
}

Semantic roles & 50–950 ramp

primary
#8FA2DF
secondary
#EFEADB
accent
#9D22C3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8FA2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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