#8CA5E4#8CA5E4

#8CA5E4 is a light, moderate blue. Relative luminance 0.381; OKLCH L 72.7% C 0.096 H 267.4°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8CA5E4
RGBrgb(140, 165, 228)
HSLhsl(223, 62%, 72%)
HSVhsv(223, 39%, 89%)
CMYKcmyk(38.6%, 27.6%, 0%, 10.6%)
CIE-LABlab(68.08, 6.78, -34.53)
CIE-LCHlch(68.08, 35.19, 281.11°)
OKLaboklab(72.71% -0.0044 -0.0962)
OKLCHoklch(72.71% 0.096 267.4)
XYZxyz(38.2697, 38.0853, 78.7185)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5E4 #E4CB8C
analogous
#8CD1E4 #8CA5E4 #9F8CE4
triadic
#8CA5E4 #E48CA5 #A5E48C
tetradic
#8CA5E4 #E48CD1 #E4CB8C #8CE49F
square
#8CA5E4 #E48CD1 #E4CB8C #8CE49F
split-complementary
#8CA5E4 #E49F8C #D1E48C
monochromatic
#2F5AC7 #5A7ED8 #8CA5E4 #BECCF0 #E6ECF9

Accessibility & contrast

On white

2.44
#8CA5E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#8CA5E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5E4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5E4#FFFFFF#000000##000000
##8CA5E41.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AAE7
Deuteranopia (green-blind)
#87A2E3
Tritanopia (blue-blind)
#70B2BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ca5e4;
/* rgb */ color: rgb(140, 165, 228);
/* oklch */ color: oklch(72.7% 0.096 267.4);
Tailwind
colors: {
  custom: {
    50: '#b0bfec',
    500: '#8ca5e4',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5e4;
$custom-light: #b0bfec;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5e4",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 228
  },
  "hsl": {
    "h": 222.955,
    "s": 61.972,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72712,
    "c": 0.09629,
    "h": 267.4
  },
  "luminance": 0.38087
}

Semantic roles & 50–950 ramp

primary
#8CA5E4
secondary
#F1EADA
accent
#981CCA
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8CA5E4

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

Preview Lab → · Contrast checker → · Palette generator →

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