#8CA5FE#8CA5FE

#8CA5FE is a light, vivid blue. Relative luminance 0.396; OKLCH L 74.0% C 0.132 H 271.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8CA5FE
RGBrgb(140, 165, 254)
HSLhsl(227, 98%, 77%)
HSVhsv(227, 45%, 100%)
CMYKcmyk(44.9%, 35%, 0%, 0.4%)
CIE-LABlab(69.21, 14.01, -46.95)
CIE-LCHlch(69.21, 49.00, 286.62°)
OKLaboklab(73.96% 0.0023 -0.1321)
OKLCHoklch(73.96% 0.132 271)
XYZxyz(42.1541, 39.6391, 99.1766)
Luminance0.3964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5FE #FEE58C
analogous
#8CDEFE #8CA5FE #AC8CFE
triadic
#8CA5FE #FE8CA5 #A5FE8C
tetradic
#8CA5FE #FE8CDE #FEE58C #8CFEAC
square
#8CA5FE #FE8CDE #FEE58C #8CFEAC
split-complementary
#8CA5FE #FEAC8C #DEFE8C
monochromatic
#1346FD #4F76FD #8CA5FE #C9D4FF #E1E7FF

Accessibility & contrast

On white

2.35
#8CA5FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#8CA5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5FE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5FE#FFFFFF#000000##000000
##8CA5FE1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#7AA4FC
Tritanopia (blue-blind)
#62B7C6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ca5fe;
/* rgb */ color: rgb(140, 165, 254);
/* oklch */ color: oklch(74.0% 0.132 271.0);
Tailwind
colors: {
  custom: {
    50: '#b2bfff',
    500: '#8ca5fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5fe;
$custom-light: #b2bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5fe",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 226.842,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73958,
    "c": 0.13212,
    "h": 271
  },
  "luminance": 0.39641
}

Semantic roles & 50–950 ramp

primary
#8CA5FE
secondary
#F7EFD4
accent
#B300E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8CA5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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