#8CA1EF#8CA1EF

#8CA1EF is a light, moderate blue. Relative luminance 0.373; OKLCH L 72.4% C 0.116 H 271.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8CA1EF
RGBrgb(140, 161, 239)
HSLhsl(227, 76%, 74%)
HSVhsv(227, 41%, 94%)
CMYKcmyk(41.4%, 32.6%, 0%, 6.3%)
CIE-LABlab(67.50, 12.07, -41.47)
CIE-LCHlch(67.50, 43.19, 286.23°)
OKLaboklab(72.41% 0.0036 -0.1162)
OKLCHoklch(72.41% 0.116 271.8)
XYZxyz(39.1353, 37.2952, 86.7812)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA1EF #EFDA8C
analogous
#8CD3EF #8CA1EF #A98CEF
triadic
#8CA1EF #EF8CA1 #A1EF8C
tetradic
#8CA1EF #EF8CD3 #EFDA8C #8CEFA9
square
#8CA1EF #EF8CD3 #EFDA8C #8CEFA9
split-complementary
#8CA1EF #EFA98C #D3EF8C
monochromatic
#2149E0 #5675E8 #8CA1EF #C2CDF6 #E4E9FB

Accessibility & contrast

On white

2.48
#8CA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#8CA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA1EF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA1EF#FFFFFF#000000##000000
##8CA1EF1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#7DA1ED
Tritanopia (blue-blind)
#6BB1BD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ca1ef;
/* rgb */ color: rgb(140, 161, 239);
/* oklch */ color: oklch(72.4% 0.116 271.8);
Tailwind
colors: {
  custom: {
    50: '#b1bcf4',
    500: '#8ca1ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ca1ef;
$custom-light: #b1bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca1ef",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 227.273,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72412,
    "c": 0.11625,
    "h": 271.8
  },
  "luminance": 0.37297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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