#8CA4F8#8CA4F8

#8CA4F8 is a light, vivid blue. Relative luminance 0.389; OKLCH L 73.5% C 0.125 H 270.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8CA4F8
RGBrgb(140, 164, 248)
HSLhsl(227, 89%, 76%)
HSVhsv(227, 44%, 97%)
CMYKcmyk(43.5%, 33.9%, 0%, 2.7%)
CIE-LABlab(68.68, 12.88, -44.53)
CIE-LCHlch(68.68, 46.35, 286.13°)
OKLaboklab(73.46% 0.0021 -0.1251)
OKLCHoklch(73.46% 0.125 270.9)
XYZxyz(41.0287, 38.9015, 94.1356)
Luminance0.3890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA4F8 #F8E08C
analogous
#8CDAF8 #8CA4F8 #AA8CF8
triadic
#8CA4F8 #F88CA4 #A4F88C
tetradic
#8CA4F8 #F88CDA #F8E08C #8CF8AA
square
#8CA4F8 #F88CDA #F8E08C #8CF8AA
split-complementary
#8CA4F8 #F8AA8C #DAF88C
monochromatic
#1949F1 #5276F4 #8CA4F8 #C6D2FC #E2E8FD

Accessibility & contrast

On white

2.39
#8CA4F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#8CA4F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA4F8
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA4F8#FFFFFF#000000##000000
##8CA4F81.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFB
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#66B5C3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ca4f8;
/* rgb */ color: rgb(140, 164, 248);
/* oklch */ color: oklch(73.5% 0.125 270.9);
Tailwind
colors: {
  custom: {
    50: '#b2befb',
    500: '#8ca4f8',
    950: '#000000',
  },
}
SCSS
$custom: #8ca4f8;
$custom-light: #b2befb;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca4f8",
  "rgb": {
    "r": 140,
    "g": 164,
    "b": 248
  },
  "hsl": {
    "h": 226.667,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73458,
    "c": 0.12508,
    "h": 270.9
  },
  "luminance": 0.38904
}

Semantic roles & 50–950 ramp

primary
#8CA4F8
secondary
#F5EED6
accent
#B200E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA4F8

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

Preview Lab → · Contrast checker → · Palette generator →

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