#8CA1F8#8CA1F8

#8CA1F8 is a light, vivid blue. Relative luminance 0.378; OKLCH L 72.9% C 0.129 H 272.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8CA1F8
RGBrgb(140, 161, 248)
HSLhsl(228, 89%, 76%)
HSVhsv(228, 44%, 97%)
CMYKcmyk(43.5%, 35.1%, 0%, 2.7%)
CIE-LABlab(67.90, 14.59, -45.75)
CIE-LCHlch(67.90, 48.02, 287.69°)
OKLaboklab(72.86% 0.0057 -0.1286)
OKLCHoklch(72.86% 0.129 272.5)
XYZxyz(40.4981, 37.8404, 93.9587)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA1F8 #F8E38C
analogous
#8CD7F8 #8CA1F8 #AD8CF8
triadic
#8CA1F8 #F88CA1 #A1F88C
tetradic
#8CA1F8 #F88CD7 #F8E38C #8CF8AD
square
#8CA1F8 #F88CD7 #F8E38C #8CF8AD
split-complementary
#8CA1F8 #F8AD8C #D7F88C
monochromatic
#1943F1 #5272F4 #8CA1F8 #C6D0FC #E2E7FD

Accessibility & contrast

On white

2.45
#8CA1F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#8CA1F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA1F8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA1F8#FFFFFF#000000##000000
##8CA1F81.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82AAFC
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#66B3C1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ca1f8;
/* rgb */ color: rgb(140, 161, 248);
/* oklch */ color: oklch(72.9% 0.129 272.5);
Tailwind
colors: {
  custom: {
    50: '#b2bcfb',
    500: '#8ca1f8',
    950: '#000000',
  },
}
SCSS
$custom: #8ca1f8;
$custom-light: #b2bcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca1f8",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 248
  },
  "hsl": {
    "h": 228.333,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72857,
    "c": 0.12874,
    "h": 272.5
  },
  "luminance": 0.37842
}

Semantic roles & 50–950 ramp

primary
#8CA1F8
secondary
#F5EFD6
accent
#B900E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA1F8

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

Preview Lab → · Contrast checker → · Palette generator →

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