#8CA7FB#8CA7FB

#8CA7FB is a light, vivid blue. Relative luminance 0.402; OKLCH L 74.2% C 0.126 H 269.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8CA7FB
RGBrgb(140, 167, 251)
HSLhsl(225, 93%, 77%)
HSVhsv(225, 44%, 98%)
CMYKcmyk(44.2%, 33.5%, 0%, 1.6%)
CIE-LABlab(69.59, 12.02, -44.73)
CIE-LCHlch(69.59, 46.31, 285.04°)
OKLaboklab(74.21% -0.0008 -0.1256)
OKLCHoklch(74.21% 0.126 269.6)
XYZxyz(42.0410, 40.1756, 96.7875)
Luminance0.4018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7FB #FBE08C
analogous
#8CDFFB #8CA7FB #A98CFB
triadic
#8CA7FB #FB8CA7 #A7FB8C
tetradic
#8CA7FB #FB8CDF #FBE08C #8CFBA9
square
#8CA7FB #FB8CDF #FBE08C #8CFBA9
split-complementary
#8CA7FB #FBA98C #DFFB8C
monochromatic
#164CF7 #517AF9 #8CA7FB #C7D4FD #E1E8FE

Accessibility & contrast

On white

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

On black

9.04
#8CA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7FB
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7FB#FFFFFF#000000##000000
##8CA7FB1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#7EA6F9
Tritanopia (blue-blind)
#64B8C6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ca7fb;
/* rgb */ color: rgb(140, 167, 251);
/* oklch */ color: oklch(74.2% 0.126 269.6);
Tailwind
colors: {
  custom: {
    50: '#b2c0fd',
    500: '#8ca7fb',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7fb;
$custom-light: #b2c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7fb",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 225.405,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74209,
    "c": 0.12562,
    "h": 269.6
  },
  "luminance": 0.40178
}

Semantic roles & 50–950 ramp

primary
#8CA7FB
secondary
#F6EED5
accent
#AE00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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