#8CA4FF#8CA4FF

#8CA4FF is a light, vivid blue. Relative luminance 0.393; OKLCH L 73.8% C 0.135 H 271.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8CA4FF
RGBrgb(140, 164, 255)
HSLhsl(227, 100%, 77%)
HSVhsv(227, 45%, 100%)
CMYKcmyk(45.1%, 35.7%, 0%, 0%)
CIE-LABlab(69.00, 14.87, -47.83)
CIE-LCHlch(69.00, 50.09, 287.27°)
OKLaboklab(73.81% 0.0037 -0.1346)
OKLCHoklch(73.81% 0.135 271.6)
XYZxyz(42.1350, 39.3440, 99.9623)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA4FF #FFE78C
analogous
#8CDEFF #8CA4FF #AD8CFF
triadic
#8CA4FF #FF8CA4 #A4FF8C
tetradic
#8CA4FF #FF8CDE #FFE78C #8CFFAD
square
#8CA4FF #FF8CDE #FFE78C #8CFFAD
split-complementary
#8CA4FF #FFAD8C #DEFF8C
monochromatic
#1243FF #4F74FF #8CA4FF #C9D4FF #E0E7FF

Accessibility & contrast

On white

2.37
#8CA4FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#8CA4FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA4FF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA4FF#FFFFFF#000000##000000
##8CA4FF1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#78A4FD
Tritanopia (blue-blind)
#62B7C6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ca4ff;
/* rgb */ color: rgb(140, 164, 255);
/* oklch */ color: oklch(73.8% 0.135 271.6);
Tailwind
colors: {
  custom: {
    50: '#b2beff',
    500: '#8ca4ff',
    950: '#000000',
  },
}
SCSS
$custom: #8ca4ff;
$custom-light: #b2beff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca4ff",
  "rgb": {
    "r": 140,
    "g": 164,
    "b": 255
  },
  "hsl": {
    "h": 227.478,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73809,
    "c": 0.1347,
    "h": 271.6
  },
  "luminance": 0.39346
}

Semantic roles & 50–950 ramp

primary
#8CA4FF
secondary
#F7F0D4
accent
#B600E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8CA4FF

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

Preview Lab → · Contrast checker → · Palette generator →

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