#8CA5F9#8CA5F9

#8CA5F9 is a light, vivid blue. Relative luminance 0.393; OKLCH L 73.7% C 0.125 H 270.5°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8CA5F9
RGBrgb(140, 165, 249)
HSLhsl(226, 90%, 76%)
HSVhsv(226, 44%, 98%)
CMYKcmyk(43.8%, 33.7%, 0%, 2.4%)
CIE-LABlab(68.98, 12.59, -44.60)
CIE-LCHlch(68.98, 46.34, 285.77°)
OKLaboklab(73.71% 0.0011 -0.1252)
OKLCHoklch(73.71% 0.125 270.5)
XYZxyz(41.3639, 39.3230, 95.0147)
Luminance0.3932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5F9 #F9E08C
analogous
#8CDBF9 #8CA5F9 #AA8CF9
triadic
#8CA5F9 #F98CA5 #A5F98C
tetradic
#8CA5F9 #F98CDB #F9E08C #8CF9AA
square
#8CA5F9 #F98CDB #F9E08C #8CF9AA
split-complementary
#8CA5F9 #F9AA8C #DBF98C
monochromatic
#184AF3 #5277F6 #8CA5F9 #C6D3FC #E2E8FD

Accessibility & contrast

On white

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

On black

8.86
#8CA5F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5F9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5F9#FFFFFF#000000##000000
##8CA5F91.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFC
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#65B6C4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ca5f9;
/* rgb */ color: rgb(140, 165, 249);
/* oklch */ color: oklch(73.7% 0.125 270.5);
Tailwind
colors: {
  custom: {
    50: '#b2bffb',
    500: '#8ca5f9',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5f9;
$custom-light: #b2bffb;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5f9",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 249
  },
  "hsl": {
    "h": 226.239,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73708,
    "c": 0.12525,
    "h": 270.5
  },
  "luminance": 0.39325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CA5F9

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

Preview Lab → · Contrast checker → · Palette generator →

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