#8FA8EC#8FA8EC

#8FA8EC is a light, moderate blue. Relative luminance 0.399; OKLCH L 73.9% C 0.103 H 268.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8FA8EC
RGBrgb(143, 168, 236)
HSLhsl(224, 71%, 74%)
HSVhsv(224, 39%, 93%)
CMYKcmyk(39.4%, 28.8%, 0%, 7.5%)
CIE-LABlab(69.40, 8.05, -36.85)
CIE-LCHlch(69.40, 37.72, 282.32°)
OKLaboklab(73.89% -0.003 -0.1028)
OKLCHoklch(73.89% 0.103 268.4)
XYZxyz(40.4660, 39.8991, 84.9097)
Luminance0.3990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA8EC #ECD38F
analogous
#8FD7EC #8FA8EC #A58FEC
triadic
#8FA8EC #EC8FA8 #A8EC8F
tetradic
#8FA8EC #EC8FD7 #ECD38F #8FECA5
square
#8FA8EC #EC8FD7 #ECD38F #8FECA5
split-complementary
#8FA8EC #ECA58F #D7EC8F
monochromatic
#2657DA #5B7FE3 #8FA8EC #C3D1F5 #E5EBFB

Accessibility & contrast

On white

2.34
#8FA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#8FA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA8EC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA8EC#FFFFFF#000000##000000
##8FA8EC1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEF
Deuteranopia (green-blind)
#88A6EA
Tritanopia (blue-blind)
#71B6C0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8fa8ec;
/* rgb */ color: rgb(143, 168, 236);
/* oklch */ color: oklch(73.9% 0.103 268.4);
Tailwind
colors: {
  custom: {
    50: '#b3c1f2',
    500: '#8fa8ec',
    950: '#000000',
  },
}
SCSS
$custom: #8fa8ec;
$custom-light: #b3c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa8ec",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 223.871,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73893,
    "c": 0.10285,
    "h": 268.4
  },
  "luminance": 0.39901
}

Semantic roles & 50–950 ramp

primary
#8FA8EC
secondary
#F2EBD9
accent
#9F12D3
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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