#8CA8FC#8CA8FC

#8CA8FC is a light, vivid blue. Relative luminance 0.406; OKLCH L 74.5% C 0.126 H 269.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8CA8FC
RGBrgb(140, 168, 252)
HSLhsl(225, 95%, 77%)
HSVhsv(225, 44%, 99%)
CMYKcmyk(44.4%, 33.3%, 0%, 1.2%)
CIE-LABlab(69.90, 11.74, -44.79)
CIE-LCHlch(69.90, 46.30, 284.68°)
OKLaboklab(74.46% -0.0018 -0.1258)
OKLCHoklch(74.46% 0.126 269.2)
XYZxyz(42.3830, 40.6066, 97.6812)
Luminance0.4061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA8FC #FCE08C
analogous
#8CE0FC #8CA8FC #A88CFC
triadic
#8CA8FC #FC8CA8 #A8FC8C
tetradic
#8CA8FC #FC8CE0 #FCE08C #8CFCA8
square
#8CA8FC #FC8CE0 #FCE08C #8CFCA8
split-complementary
#8CA8FC #FCA88C #E0FC8C
monochromatic
#154EF9 #507BFA #8CA8FC #C8D5FE #E1E8FE

Accessibility & contrast

On white

2.30
#8CA8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#8CA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA8FC
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA8FC#FFFFFF#000000##000000
##8CA8FC1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#63B9C6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8ca8fc;
/* rgb */ color: rgb(140, 168, 252);
/* oklch */ color: oklch(74.5% 0.126 269.2);
Tailwind
colors: {
  custom: {
    50: '#b2c1fd',
    500: '#8ca8fc',
    950: '#000000',
  },
}
SCSS
$custom: #8ca8fc;
$custom-light: #b2c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca8fc",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 225,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7446,
    "c": 0.12581,
    "h": 269.2
  },
  "luminance": 0.40609
}

Semantic roles & 50–950 ramp

primary
#8CA8FC
secondary
#F6EED5
accent
#AC00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8CA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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