#8CA4FB#8CA4FB

#8CA4FB is a light, vivid blue. Relative luminance 0.391; OKLCH L 73.6% C 0.129 H 271.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8CA4FB
RGBrgb(140, 164, 251)
HSLhsl(227, 93%, 77%)
HSVhsv(227, 44%, 98%)
CMYKcmyk(44.2%, 34.7%, 0%, 1.6%)
CIE-LABlab(68.82, 13.73, -45.95)
CIE-LCHlch(68.82, 47.95, 286.64°)
OKLaboklab(73.61% 0.0028 -0.1292)
OKLCHoklch(73.61% 0.129 271.2)
XYZxyz(41.4978, 39.0891, 96.6064)
Luminance0.3909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA4FB #FBE38C
analogous
#8CDCFB #8CA4FB #AC8CFB
triadic
#8CA4FB #FB8CA4 #A4FB8C
tetradic
#8CA4FB #FB8CDC #FBE38C #8CFBAC
square
#8CA4FB #FB8CDC #FBE38C #8CFBAC
split-complementary
#8CA4FB #FBAC8C #DCFB8C
monochromatic
#1646F7 #5175F9 #8CA4FB #C7D3FD #E1E8FE

Accessibility & contrast

On white

2.38
#8CA4FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#8CA4FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA4FB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA4FB#FFFFFF#000000##000000
##8CA4FB1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#7AA4F9
Tritanopia (blue-blind)
#64B6C4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ca4fb;
/* rgb */ color: rgb(140, 164, 251);
/* oklch */ color: oklch(73.6% 0.129 271.2);
Tailwind
colors: {
  custom: {
    50: '#b2befd',
    500: '#8ca4fb',
    950: '#000000',
  },
}
SCSS
$custom: #8ca4fb;
$custom-light: #b2befd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca4fb",
  "rgb": {
    "r": 140,
    "g": 164,
    "b": 251
  },
  "hsl": {
    "h": 227.027,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73607,
    "c": 0.12921,
    "h": 271.2
  },
  "luminance": 0.39091
}

Semantic roles & 50–950 ramp

primary
#8CA4FB
secondary
#F6EFD5
accent
#B400E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA4FB

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

Preview Lab → · Contrast checker → · Palette generator →

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