#8CA3FA#8CA3FA

#8CA3FA is a light, vivid blue. Relative luminance 0.387; OKLCH L 73.4% C 0.129 H 271.7°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8CA3FA
RGBrgb(140, 163, 250)
HSLhsl(227, 92%, 76%)
HSVhsv(227, 44%, 98%)
CMYKcmyk(44%, 34.8%, 0%, 2%)
CIE-LABlab(68.51, 14.02, -45.88)
CIE-LCHlch(68.51, 47.98, 286.99°)
OKLaboklab(73.36% 0.0037 -0.129)
OKLCHoklch(73.36% 0.129 271.7)
XYZxyz(41.1624, 38.6697, 95.7190)
Luminance0.3867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA3FA #FAE38C
analogous
#8CDAFA #8CA3FA #AC8CFA
triadic
#8CA3FA #FA8CA3 #A3FA8C
tetradic
#8CA3FA #FA8CDA #FAE38C #8CFAAC
square
#8CA3FA #FA8CDA #FAE38C #8CFAAC
split-complementary
#8CA3FA #FAAC8C #DAFA8C
monochromatic
#1745F5 #5174F7 #8CA3FA #C7D2FD #E2E8FE

Accessibility & contrast

On white

2.40
#8CA3FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#8CA3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA3FA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA3FA#FFFFFF#000000##000000
##8CA3FA1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#65B5C3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ca3fa;
/* rgb */ color: rgb(140, 163, 250);
/* oklch */ color: oklch(73.4% 0.129 271.7);
Tailwind
colors: {
  custom: {
    50: '#b2befc',
    500: '#8ca3fa',
    950: '#000000',
  },
}
SCSS
$custom: #8ca3fa;
$custom-light: #b2befc;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca3fa",
  "rgb": {
    "r": 140,
    "g": 163,
    "b": 250
  },
  "hsl": {
    "h": 227.455,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73357,
    "c": 0.12904,
    "h": 271.7
  },
  "luminance": 0.38672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CA3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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