#8CA8EC#8CA8EC

#8CA8EC is a light, moderate blue. Relative luminance 0.396; OKLCH L 73.7% C 0.104 H 266.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8CA8EC
RGBrgb(140, 168, 236)
HSLhsl(223, 72%, 74%)
HSVhsv(223, 41%, 93%)
CMYKcmyk(40.7%, 28.8%, 0%, 7.5%)
CIE-LABlab(69.21, 7.27, -37.16)
CIE-LCHlch(69.21, 37.87, 281.07°)
OKLaboklab(73.7% -0.006 -0.1037)
OKLCHoklch(73.7% 0.104 266.7)
XYZxyz(39.9535, 39.6348, 84.8857)
Luminance0.3964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA8EC #ECD08C
analogous
#8CD8EC #8CA8EC #A08CEC
triadic
#8CA8EC #EC8CA8 #A8EC8C
tetradic
#8CA8EC #EC8CD8 #ECD08C #8CECA0
square
#8CA8EC #EC8CD8 #ECD08C #8CECA0
split-complementary
#8CA8EC #ECA08C #D8EC8C
monochromatic
#2459DA #5780E3 #8CA8EC #C1D0F5 #E5EBFB

Accessibility & contrast

On white

2.35
#8CA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#8CA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA8EC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA8EC#FFFFFF#000000##000000
##8CA8EC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEEF
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#6CB6C0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ca8ec;
/* rgb */ color: rgb(140, 168, 236);
/* oklch */ color: oklch(73.7% 0.104 266.7);
Tailwind
colors: {
  custom: {
    50: '#b1c1f2',
    500: '#8ca8ec',
    950: '#000000',
  },
}
SCSS
$custom: #8ca8ec;
$custom-light: #b1c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca8ec",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 222.5,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73697,
    "c": 0.10392,
    "h": 266.7
  },
  "luminance": 0.39637
}

Semantic roles & 50–950 ramp

primary
#8CA8EC
secondary
#F2EBD9
accent
#9B12D4
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8CA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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