#8CA5FA#8CA5FA

#8CA5FA is a light, vivid blue. Relative luminance 0.394; OKLCH L 73.8% C 0.127 H 270.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8CA5FA
RGBrgb(140, 165, 250)
HSLhsl(226, 92%, 76%)
HSVhsv(226, 44%, 98%)
CMYKcmyk(44%, 34%, 0%, 2%)
CIE-LABlab(69.03, 12.88, -45.07)
CIE-LCHlch(69.03, 46.87, 285.94°)
OKLaboklab(73.76% 0.0013 -0.1266)
OKLCHoklch(73.76% 0.127 270.6)
XYZxyz(41.5203, 39.3856, 95.8383)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5FA #FAE18C
analogous
#8CDCFA #8CA5FA #AA8CFA
triadic
#8CA5FA #FA8CA5 #A5FA8C
tetradic
#8CA5FA #FA8CDC #FAE18C #8CFAAA
square
#8CA5FA #FA8CDC #FAE18C #8CFAAA
split-complementary
#8CA5FA #FAAA8C #DCFA8C
monochromatic
#1749F5 #5177F7 #8CA5FA #C7D3FD #E2E8FE

Accessibility & contrast

On white

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

On black

8.88
#8CA5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5FA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5FA#FFFFFF#000000##000000
##8CA5FA1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFD
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#65B7C4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ca5fa;
/* rgb */ color: rgb(140, 165, 250);
/* oklch */ color: oklch(73.8% 0.127 270.6);
Tailwind
colors: {
  custom: {
    50: '#b2bffc',
    500: '#8ca5fa',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5fa;
$custom-light: #b2bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5fa",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 226.364,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73758,
    "c": 0.12663,
    "h": 270.6
  },
  "luminance": 0.39388
}

Semantic roles & 50–950 ramp

primary
#8CA5FA
secondary
#F6EED5
accent
#B100E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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