#8CA2DF#8CA2DF

#8CA2DF is a light, moderate blue. Relative luminance 0.367; OKLCH L 71.9% C 0.093 H 268.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8CA2DF
RGBrgb(140, 162, 223)
HSLhsl(224, 56%, 71%)
HSVhsv(224, 37%, 87%)
CMYKcmyk(37.2%, 27.4%, 0%, 12.5%)
CIE-LABlab(67.08, 7.13, -33.33)
CIE-LCHlch(67.08, 34.09, 282.08°)
OKLaboklab(71.87% -0.002 -0.0927)
OKLCHoklch(71.87% 0.093 268.8)
XYZxyz(37.0508, 36.7422, 74.9374)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA2DF #DFC98C
analogous
#8CCBDF #8CA2DF #9F8CDF
triadic
#8CA2DF #DF8CA2 #A2DF8C
tetradic
#8CA2DF #DF8CCB #DFC98C #8CDF9F
square
#8CA2DF #DF8CCB #DFC98C #8CDF9F
split-complementary
#8CA2DF #DF9F8C #CBDF8C
monochromatic
#3458BC #5C7BD2 #8CA2DF #BCC9EC #E7ECF8

Accessibility & contrast

On white

2.52
#8CA2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#8CA2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA2DF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA2DF#FFFFFF#000000##000000
##8CA2DF1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E2
Deuteranopia (green-blind)
#86A0DE
Tritanopia (blue-blind)
#72AEB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8ca2df;
/* rgb */ color: rgb(140, 162, 223);
/* oklch */ color: oklch(71.9% 0.093 268.8);
Tailwind
colors: {
  custom: {
    50: '#b0bde9',
    500: '#8ca2df',
    950: '#000000',
  },
}
SCSS
$custom: #8ca2df;
$custom-light: #b0bde9;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca2df",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 224.096,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71866,
    "c": 0.09277,
    "h": 268.8
  },
  "luminance": 0.36744
}

Semantic roles & 50–950 ramp

primary
#8CA2DF
secondary
#EEE9D8
accent
#9921C4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8CA2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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