#8CA5FF#8CA5FF

#8CA5FF is a light, vivid blue. Relative luminance 0.397; OKLCH L 74.0% C 0.133 H 271.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8CA5FF
RGBrgb(140, 165, 255)
HSLhsl(227, 100%, 77%)
HSVhsv(227, 45%, 100%)
CMYKcmyk(45.1%, 35.3%, 0%, 0%)
CIE-LABlab(69.26, 14.30, -47.42)
CIE-LCHlch(69.26, 49.53, 286.78°)
OKLaboklab(74.01% 0.0025 -0.1335)
OKLCHoklch(74.01% 0.133 271.1)
XYZxyz(42.3147, 39.7033, 100.0222)
Luminance0.3971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5FF #FFE68C
analogous
#8CDEFF #8CA5FF #AD8CFF
triadic
#8CA5FF #FF8CA5 #A5FF8C
tetradic
#8CA5FF #FF8CDE #FFE68C #8CFFAD
square
#8CA5FF #FF8CDE #FFE68C #8CFFAD
split-complementary
#8CA5FF #FFAD8C #DEFF8C
monochromatic
#1245FF #4F75FF #8CA5FF #C9D5FF #E0E7FF

Accessibility & contrast

On white

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

On black

8.94
#8CA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5FF
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5FF#FFFFFF#000000##000000
##8CA5FF1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#79A5FD
Tritanopia (blue-blind)
#62B8C6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ca5ff;
/* rgb */ color: rgb(140, 165, 255);
/* oklch */ color: oklch(74.0% 0.133 271.1);
Tailwind
colors: {
  custom: {
    50: '#b2bfff',
    500: '#8ca5ff',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5ff;
$custom-light: #b2bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5ff",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 226.957,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.13349,
    "h": 271.1
  },
  "luminance": 0.39706
}

Semantic roles & 50–950 ramp

primary
#8CA5FF
secondary
#F7F0D4
accent
#B400E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8CA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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