#8CA5FC#8CA5FC

#8CA5FC is a light, vivid blue. Relative luminance 0.395; OKLCH L 73.9% C 0.129 H 270.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8CA5FC
RGBrgb(140, 165, 252)
HSLhsl(227, 95%, 77%)
HSVhsv(227, 44%, 99%)
CMYKcmyk(44.4%, 34.5%, 0%, 1.2%)
CIE-LABlab(69.12, 13.44, -46.01)
CIE-LCHlch(69.12, 47.94, 286.29°)
OKLaboklab(73.86% 0.0018 -0.1294)
OKLCHoklch(73.86% 0.129 270.8)
XYZxyz(41.8355, 39.5117, 97.4987)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5FC #FCE38C
analogous
#8CDDFC #8CA5FC #AB8CFC
triadic
#8CA5FC #FC8CA5 #A5FC8C
tetradic
#8CA5FC #FC8CDD #FCE38C #8CFCAB
square
#8CA5FC #FC8CDD #FCE38C #8CFCAB
split-complementary
#8CA5FC #FCAB8C #DDFC8C
monochromatic
#1548F9 #5076FA #8CA5FC #C8D4FE #E1E8FE

Accessibility & contrast

On white

2.36
#8CA5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#8CA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5FC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5FC#FFFFFF#000000##000000
##8CA5FC1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#7BA4FA
Tritanopia (blue-blind)
#64B7C5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ca5fc;
/* rgb */ color: rgb(140, 165, 252);
/* oklch */ color: oklch(73.9% 0.129 270.8);
Tailwind
colors: {
  custom: {
    50: '#b2bffd',
    500: '#8ca5fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5fc;
$custom-light: #b2bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5fc",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 226.607,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73857,
    "c": 0.12937,
    "h": 270.8
  },
  "luminance": 0.39514
}

Semantic roles & 50–950 ramp

primary
#8CA5FC
secondary
#F6EFD5
accent
#B200E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8CA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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