#8CA2EC#8CA2EC

#8CA2EC is a light, moderate blue. Relative luminance 0.375; OKLCH L 72.5% C 0.111 H 270.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8CA2EC
RGBrgb(140, 162, 236)
HSLhsl(226, 72%, 74%)
HSVhsv(226, 41%, 93%)
CMYKcmyk(40.7%, 31.4%, 0%, 7.5%)
CIE-LABlab(67.63, 10.67, -39.62)
CIE-LCHlch(67.63, 41.04, 285.07°)
OKLaboklab(72.47% 0.0016 -0.1109)
OKLCHoklch(72.47% 0.111 270.8)
XYZxyz(38.8712, 37.4703, 84.5249)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA2EC #ECD68C
analogous
#8CD2EC #8CA2EC #A68CEC
triadic
#8CA2EC #EC8CA2 #A2EC8C
tetradic
#8CA2EC #EC8CD2 #ECD68C #8CECA6
square
#8CA2EC #EC8CD2 #ECD68C #8CECA6
split-complementary
#8CA2EC #ECA68C #D2EC8C
monochromatic
#244EDA #5778E3 #8CA2EC #C1CCF5 #E5EAFB

Accessibility & contrast

On white

2.47
#8CA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#8CA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA2EC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA2EC#FFFFFF#000000##000000
##8CA2EC1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#6DB1BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ca2ec;
/* rgb */ color: rgb(140, 162, 236);
/* oklch */ color: oklch(72.5% 0.111 270.8);
Tailwind
colors: {
  custom: {
    50: '#b1bdf2',
    500: '#8ca2ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ca2ec;
$custom-light: #b1bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca2ec",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 226.25,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.11087,
    "h": 270.8
  },
  "luminance": 0.37472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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