#8CA3EC#8CA3EC

#8CA3EC is a light, moderate blue. Relative luminance 0.378; OKLCH L 72.7% C 0.110 H 270.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8CA3EC
RGBrgb(140, 163, 236)
HSLhsl(226, 72%, 74%)
HSVhsv(226, 41%, 93%)
CMYKcmyk(40.7%, 30.9%, 0%, 7.5%)
CIE-LABlab(67.89, 10.10, -39.21)
CIE-LCHlch(67.89, 40.49, 284.44°)
OKLaboklab(72.67% 0.0003 -0.1097)
OKLCHoklch(72.67% 0.11 270.2)
XYZxyz(39.0481, 37.8240, 84.5839)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA3EC #ECD58C
analogous
#8CD3EC #8CA3EC #A58CEC
triadic
#8CA3EC #EC8CA3 #A3EC8C
tetradic
#8CA3EC #EC8CD3 #ECD58C #8CECA5
square
#8CA3EC #EC8CD3 #ECD58C #8CECA5
split-complementary
#8CA3EC #ECA58C #D3EC8C
monochromatic
#244FDA #5779E3 #8CA3EC #C1CDF5 #E5EAFB

Accessibility & contrast

On white

2.45
#8CA3EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#8CA3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA3EC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA3EC#FFFFFF#000000##000000
##8CA3EC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#81A2EA
Tritanopia (blue-blind)
#6CB2BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ca3ec;
/* rgb */ color: rgb(140, 163, 236);
/* oklch */ color: oklch(72.7% 0.110 270.2);
Tailwind
colors: {
  custom: {
    50: '#b1bef2',
    500: '#8ca3ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ca3ec;
$custom-light: #b1bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca3ec",
  "rgb": {
    "r": 140,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 225.625,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72673,
    "c": 0.10968,
    "h": 270.2
  },
  "luminance": 0.37826
}

Semantic roles & 50–950 ramp

primary
#8CA3EC
secondary
#F2ECD9
accent
#A512D4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8CA3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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