#8CBAFE#8CBAFE

#8CBAFE is a light, moderate blue. Relative luminance 0.478; OKLCH L 78.2% C 0.109 H 258.0°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#8CBAFE
RGBrgb(140, 186, 254)
HSLhsl(216, 98%, 77%)
HSVhsv(216, 45%, 100%)
CMYKcmyk(44.9%, 26.8%, 0%, 0.4%)
CIE-LABlab(74.73, 2.23, -38.33)
CIE-LCHlch(74.73, 38.40, 273.32°)
OKLaboklab(78.25% -0.0228 -0.1071)
OKLCHoklch(78.25% 0.109 258)
XYZxyz(46.2576, 47.8461, 100.5444)
Luminance0.4785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CBAFE #FED08C
analogous
#8CF3FE #8CBAFE #978CFE
triadic
#8CBAFE #FE8CBA #BAFE8C
tetradic
#8CBAFE #FE8CF3 #FED08C #8CFE97
square
#8CBAFE #FE8CF3 #FED08C #8CFE97
split-complementary
#8CBAFE #FE978C #F3FE8C
monochromatic
#1371FD #4F96FD #8CBAFE #C9DEFF #E1EDFF

Accessibility & contrast

On white

1.99
#8CBAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#8CBAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CBAFE
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CBAFE#FFFFFF#000000##000000
##8CBAFE1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BEFF
Deuteranopia (green-blind)
#93B3FD
Tritanopia (blue-blind)
#5FC9D2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8cbafe;
/* rgb */ color: rgb(140, 186, 254);
/* oklch */ color: oklch(78.2% 0.109 258.0);
Tailwind
colors: {
  custom: {
    50: '#b2ceff',
    500: '#8cbafe',
    950: '#000000',
  },
}
SCSS
$custom: #8cbafe;
$custom-light: #b2ceff;
$custom-dark: #000000;
JSON
{
  "hex": "#8cbafe",
  "rgb": {
    "r": 140,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 215.789,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78247,
    "c": 0.10948,
    "h": 258
  },
  "luminance": 0.47849
}

Semantic roles & 50–950 ramp

primary
#8CBAFE
secondary
#F7E9D4
accent
#8900E6
background
#FBFCFF
surface
#F6F9FF
border
#D0D2D7
text
#111318
muted
#808286

Preview Lab

Preview with #8CBAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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