#8CA5F5#8CA5F5

#8CA5F5 is a light, moderate blue. Relative luminance 0.391; OKLCH L 73.5% C 0.120 H 270.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8CA5F5
RGBrgb(140, 165, 245)
HSLhsl(226, 84%, 75%)
HSVhsv(226, 43%, 96%)
CMYKcmyk(42.9%, 32.7%, 0%, 3.9%)
CIE-LABlab(68.81, 11.47, -42.70)
CIE-LCHlch(68.81, 44.21, 285.03°)
OKLaboklab(73.51% 0.0001 -0.1197)
OKLCHoklch(73.51% 0.12 270.1)
XYZxyz(40.7467, 39.0761, 91.7639)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5F5 #F5DC8C
analogous
#8CDAF5 #8CA5F5 #A78CF5
triadic
#8CA5F5 #F58CA5 #A5F58C
tetradic
#8CA5F5 #F58CDA #F5DC8C #8CF5A7
square
#8CA5F5 #F58CDA #F5DC8C #8CF5A7
split-complementary
#8CA5F5 #F5A78C #DAF58C
monochromatic
#1B4DEB #5479F0 #8CA5F5 #C4D1FA #E3E9FD

Accessibility & contrast

On white

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

On black

8.82
#8CA5F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5F5
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5F5#FFFFFF#000000##000000
##8CA5F51.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ADF8
Deuteranopia (green-blind)
#7FA4F3
Tritanopia (blue-blind)
#68B5C2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ca5f5;
/* rgb */ color: rgb(140, 165, 245);
/* oklch */ color: oklch(73.5% 0.120 270.1);
Tailwind
colors: {
  custom: {
    50: '#b2bff9',
    500: '#8ca5f5',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5f5;
$custom-light: #b2bff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5f5",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 245
  },
  "hsl": {
    "h": 225.714,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73512,
    "c": 0.11975,
    "h": 270.1
  },
  "luminance": 0.39078
}

Semantic roles & 50–950 ramp

primary
#8CA5F5
secondary
#F4EDD7
accent
#AC05E0
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA5F5

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

Preview Lab → · Contrast checker → · Palette generator →

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