#8CA2EF#8CA2EF

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

Color values

HEX#8CA2EF
RGBrgb(140, 162, 239)
HSLhsl(227, 76%, 74%)
HSVhsv(227, 41%, 94%)
CMYKcmyk(41.4%, 32.2%, 0%, 6.3%)
CIE-LABlab(67.76, 11.50, -41.06)
CIE-LCHlch(67.76, 42.64, 285.65°)
OKLaboklab(72.61% 0.0023 -0.115)
OKLCHoklch(72.61% 0.115 271.2)
XYZxyz(39.3108, 37.6461, 86.8397)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA2EF #EFD98C
analogous
#8CD4EF #8CA2EF #A88CEF
triadic
#8CA2EF #EF8CA2 #A2EF8C
tetradic
#8CA2EF #EF8CD4 #EFD98C #8CEFA8
square
#8CA2EF #EF8CD4 #EFD98C #8CEFA8
split-complementary
#8CA2EF #EFA88C #D4EF8C
monochromatic
#214BE0 #5677E8 #8CA2EF #C2CDF6 #E4E9FB

Accessibility & contrast

On white

2.46
#8CA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#8CA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA2EF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA2EF#FFFFFF#000000##000000
##8CA2EF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF2
Deuteranopia (green-blind)
#7FA1ED
Tritanopia (blue-blind)
#6BB2BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ca2ef;
/* rgb */ color: rgb(140, 162, 239);
/* oklch */ color: oklch(72.6% 0.115 271.2);
Tailwind
colors: {
  custom: {
    50: '#b1bdf4',
    500: '#8ca2ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ca2ef;
$custom-light: #b1bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca2ef",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 226.667,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72614,
    "c": 0.11504,
    "h": 271.2
  },
  "luminance": 0.37648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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