#8CA7FC#8CA7FC

#8CA7FC is a light, vivid blue. Relative luminance 0.402; OKLCH L 74.3% C 0.127 H 269.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8CA7FC
RGBrgb(140, 167, 252)
HSLhsl(226, 95%, 77%)
HSVhsv(226, 44%, 99%)
CMYKcmyk(44.4%, 33.7%, 0%, 1.2%)
CIE-LABlab(69.64, 12.30, -45.20)
CIE-LCHlch(69.64, 46.84, 285.23°)
OKLaboklab(74.26% -0.0006 -0.127)
OKLCHoklch(74.26% 0.127 269.7)
XYZxyz(42.1991, 40.2388, 97.6199)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7FC #FCE18C
analogous
#8CDFFC #8CA7FC #A98CFC
triadic
#8CA7FC #FC8CA7 #A7FC8C
tetradic
#8CA7FC #FC8CDF #FCE18C #8CFCA9
square
#8CA7FC #FC8CDF #FCE18C #8CFCA9
split-complementary
#8CA7FC #FCA98C #DFFC8C
monochromatic
#154CF9 #5079FA #8CA7FC #C8D5FE #E1E8FE

Accessibility & contrast

On white

2.32
#8CA7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#8CA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7FC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7FC#FFFFFF#000000##000000
##8CA7FC1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#63B9C6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ca7fc;
/* rgb */ color: rgb(140, 167, 252);
/* oklch */ color: oklch(74.3% 0.127 269.7);
Tailwind
colors: {
  custom: {
    50: '#b2c0fd',
    500: '#8ca7fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7fc;
$custom-light: #b2c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7fc",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 225.536,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74259,
    "c": 0.12699,
    "h": 269.7
  },
  "luminance": 0.40241
}

Semantic roles & 50–950 ramp

primary
#8CA7FC
secondary
#F6EED5
accent
#AE00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8CA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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