#8CA3F8#8CA3F8

#8CA3F8 is a light, vivid blue. Relative luminance 0.385; OKLCH L 73.3% C 0.126 H 271.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8CA3F8
RGBrgb(140, 163, 248)
HSLhsl(227, 89%, 76%)
HSVhsv(227, 44%, 97%)
CMYKcmyk(43.5%, 34.3%, 0%, 2.7%)
CIE-LABlab(68.42, 13.45, -44.94)
CIE-LCHlch(68.42, 46.91, 286.66°)
OKLaboklab(73.26% 0.0033 -0.1262)
OKLCHoklch(73.26% 0.126 271.5)
XYZxyz(40.8504, 38.5450, 94.0762)
Luminance0.3855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA3F8 #F8E18C
analogous
#8CD9F8 #8CA3F8 #AB8CF8
triadic
#8CA3F8 #F88CA3 #A3F88C
tetradic
#8CA3F8 #F88CD9 #F8E18C #8CF8AB
square
#8CA3F8 #F88CD9 #F8E18C #8CF8AB
split-complementary
#8CA3F8 #F8AB8C #D9F88C
monochromatic
#1947F1 #5275F4 #8CA3F8 #C6D1FC #E2E8FD

Accessibility & contrast

On white

2.41
#8CA3F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8CA3F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA3F8
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA3F8#FFFFFF#000000##000000
##8CA3F81.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFB
Deuteranopia (green-blind)
#7BA3F6
Tritanopia (blue-blind)
#66B4C2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ca3f8;
/* rgb */ color: rgb(140, 163, 248);
/* oklch */ color: oklch(73.3% 0.126 271.5);
Tailwind
colors: {
  custom: {
    50: '#b2befb',
    500: '#8ca3f8',
    950: '#000000',
  },
}
SCSS
$custom: #8ca3f8;
$custom-light: #b2befb;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca3f8",
  "rgb": {
    "r": 140,
    "g": 163,
    "b": 248
  },
  "hsl": {
    "h": 227.222,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73257,
    "c": 0.12629,
    "h": 271.5
  },
  "luminance": 0.38547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CA3F8

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

Preview Lab → · Contrast checker → · Palette generator →

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