#8CA4FA#8CA4FA

#8CA4FA is a light, vivid blue. Relative luminance 0.390; OKLCH L 73.6% C 0.128 H 271.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8CA4FA
RGBrgb(140, 164, 250)
HSLhsl(227, 92%, 76%)
HSVhsv(227, 44%, 98%)
CMYKcmyk(44%, 34.4%, 0%, 2%)
CIE-LABlab(68.77, 13.45, -45.48)
CIE-LCHlch(68.77, 47.42, 286.47°)
OKLaboklab(73.56% 0.0025 -0.1278)
OKLCHoklch(73.56% 0.128 271.1)
XYZxyz(41.3406, 39.0262, 95.7784)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA4FA #FAE28C
analogous
#8CDBFA #8CA4FA #AB8CFA
triadic
#8CA4FA #FA8CA4 #A4FA8C
tetradic
#8CA4FA #FA8CDB #FAE28C #8CFAAB
square
#8CA4FA #FA8CDB #FAE28C #8CFAAB
split-complementary
#8CA4FA #FAAB8C #DBFA8C
monochromatic
#1747F5 #5176F7 #8CA4FA #C7D2FD #E2E8FE

Accessibility & contrast

On white

2.38
#8CA4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#8CA4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA4FA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA4FA#FFFFFF#000000##000000
##8CA4FA1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFE
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#65B6C3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ca4fa;
/* rgb */ color: rgb(140, 164, 250);
/* oklch */ color: oklch(73.6% 0.128 271.1);
Tailwind
colors: {
  custom: {
    50: '#b2befc',
    500: '#8ca4fa',
    950: '#000000',
  },
}
SCSS
$custom: #8ca4fa;
$custom-light: #b2befc;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca4fa",
  "rgb": {
    "r": 140,
    "g": 164,
    "b": 250
  },
  "hsl": {
    "h": 226.909,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73557,
    "c": 0.12784,
    "h": 271.1
  },
  "luminance": 0.39028
}

Semantic roles & 50–950 ramp

primary
#8CA4FA
secondary
#F6EFD5
accent
#B300E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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