#8CA8FA#8CA8FA

#8CA8FA is a light, vivid blue. Relative luminance 0.405; OKLCH L 74.4% C 0.123 H 268.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8CA8FA
RGBrgb(140, 168, 250)
HSLhsl(225, 92%, 76%)
HSVhsv(225, 44%, 98%)
CMYKcmyk(44%, 32.8%, 0%, 2%)
CIE-LABlab(69.81, 11.17, -43.84)
CIE-LCHlch(69.81, 45.24, 284.29°)
OKLaboklab(74.36% -0.0023 -0.1231)
OKLCHoklch(74.36% 0.123 268.9)
XYZxyz(42.0677, 40.4805, 96.0208)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA8FA #FADE8C
analogous
#8CDFFA #8CA8FA #A78CFA
triadic
#8CA8FA #FA8CA8 #A8FA8C
tetradic
#8CA8FA #FA8CDF #FADE8C #8CFAA7
square
#8CA8FA #FA8CDF #FADE8C #8CFAA7
split-complementary
#8CA8FA #FAA78C #DFFA8C
monochromatic
#174FF5 #517CF7 #8CA8FA #C7D4FD #E2E9FE

Accessibility & contrast

On white

2.31
#8CA8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#8CA8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA8FA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA8FA#FFFFFF#000000##000000
##8CA8FA1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#64B9C6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ca8fa;
/* rgb */ color: rgb(140, 168, 250);
/* oklch */ color: oklch(74.4% 0.123 268.9);
Tailwind
colors: {
  custom: {
    50: '#b2c1fc',
    500: '#8ca8fa',
    950: '#000000',
  },
}
SCSS
$custom: #8ca8fa;
$custom-light: #b2c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca8fa",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 224.727,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74362,
    "c": 0.12308,
    "h": 268.9
  },
  "luminance": 0.40483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CA8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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