#8CA2EE#8CA2EE

#8CA2EE is a light, moderate blue. Relative luminance 0.376; OKLCH L 72.6% C 0.114 H 271.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8CA2EE
RGBrgb(140, 162, 238)
HSLhsl(227, 74%, 74%)
HSVhsv(227, 41%, 93%)
CMYKcmyk(41.2%, 31.9%, 0%, 6.7%)
CIE-LABlab(67.72, 11.22, -40.58)
CIE-LCHlch(67.72, 42.11, 285.46°)
OKLaboklab(72.57% 0.0021 -0.1136)
OKLCHoklch(72.57% 0.114 271)
XYZxyz(39.1634, 37.5872, 86.0638)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA2EE #EED88C
analogous
#8CD3EE #8CA2EE #A78CEE
triadic
#8CA2EE #EE8CA2 #A2EE8C
tetradic
#8CA2EE #EE8CD3 #EED88C #8CEEA7
square
#8CA2EE #EE8CD3 #EED88C #8CEEA7
split-complementary
#8CA2EE #EEA78C #D3EE8C
monochromatic
#214CDE #5777E6 #8CA2EE #C1CDF6 #E4E9FB

Accessibility & contrast

On white

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

On black

8.52
#8CA2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA2EE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA2EE#FFFFFF#000000##000000
##8CA2EE1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F1
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#6CB1BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ca2ee;
/* rgb */ color: rgb(140, 162, 238);
/* oklch */ color: oklch(72.6% 0.114 271.0);
Tailwind
colors: {
  custom: {
    50: '#b1bdf4',
    500: '#8ca2ee',
    950: '#000000',
  },
}
SCSS
$custom: #8ca2ee;
$custom-light: #b1bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca2ee",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 226.531,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72565,
    "c": 0.11365,
    "h": 271
  },
  "luminance": 0.37589
}

Semantic roles & 50–950 ramp

primary
#8CA2EE
secondary
#F3EDD8
accent
#AA0FD6
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8CA2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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