#8CA7FD#8CA7FD

#8CA7FD is a light, vivid blue. Relative luminance 0.403; OKLCH L 74.3% C 0.128 H 269.8°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8CA7FD
RGBrgb(140, 167, 253)
HSLhsl(226, 97%, 77%)
HSVhsv(226, 45%, 99%)
CMYKcmyk(44.7%, 34%, 0%, 0.8%)
CIE-LABlab(69.68, 12.59, -45.67)
CIE-LCHlch(69.68, 47.37, 285.41°)
OKLaboklab(74.31% -0.0004 -0.1284)
OKLCHoklch(74.31% 0.128 269.8)
XYZxyz(42.3580, 40.3023, 98.4566)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7FD #FDE28C
analogous
#8CDFFD #8CA7FD #AA8CFD
triadic
#8CA7FD #FD8CA7 #A7FD8C
tetradic
#8CA7FD #FD8CDF #FDE28C #8CFDAA
square
#8CA7FD #FD8CDF #FDE28C #8CFDAA
split-complementary
#8CA7FD #FDAA8C #DFFD8C
monochromatic
#144BFB #5079FC #8CA7FD #C8D5FE #E1E8FE

Accessibility & contrast

On white

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

On black

9.06
#8CA7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7FD
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7FD#FFFFFF#000000##000000
##8CA7FD1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca7fd;
/* rgb */ color: rgb(140, 167, 253);
/* oklch */ color: oklch(74.3% 0.128 269.8);
Tailwind
colors: {
  custom: {
    50: '#b2c0fe',
    500: '#8ca7fd',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7fd;
$custom-light: #b2c0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7fd",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 225.664,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74308,
    "c": 0.12836,
    "h": 269.8
  },
  "luminance": 0.40305
}

Semantic roles & 50–950 ramp

primary
#8CA7FD
secondary
#F7EFD4
accent
#AF00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8CA7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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