#8CA7FE#8CA7FE

#8CA7FE is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.4% C 0.130 H 269.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8CA7FE
RGBrgb(140, 167, 254)
HSLhsl(226, 98%, 77%)
HSVhsv(226, 45%, 100%)
CMYKcmyk(44.9%, 34.3%, 0%, 0.4%)
CIE-LABlab(69.73, 12.87, -46.14)
CIE-LCHlch(69.73, 47.90, 285.59°)
OKLaboklab(74.36% -0.0001 -0.1297)
OKLCHoklch(74.36% 0.13 269.9)
XYZxyz(42.5177, 40.3662, 99.2978)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7FE #FEE38C
analogous
#8CE0FE #8CA7FE #AA8CFE
triadic
#8CA7FE #FE8CA7 #A7FE8C
tetradic
#8CA7FE #FE8CE0 #FEE38C #8CFEAA
square
#8CA7FE #FE8CE0 #FEE38C #8CFEAA
split-complementary
#8CA7FE #FEAA8C #E0FE8C
monochromatic
#134AFD #4F79FD #8CA7FE #C9D5FF #E1E8FF

Accessibility & contrast

On white

2.31
#8CA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#8CA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7FE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7FE#FFFFFF#000000##000000
##8CA7FE1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#7CA6FC
Tritanopia (blue-blind)
#62B9C7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ca7fe;
/* rgb */ color: rgb(140, 167, 254);
/* oklch */ color: oklch(74.4% 0.130 269.9);
Tailwind
colors: {
  custom: {
    50: '#b2c0ff',
    500: '#8ca7fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7fe;
$custom-light: #b2c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7fe",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 225.789,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74358,
    "c": 0.12973,
    "h": 269.9
  },
  "luminance": 0.40369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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