#BAC8FF#BAC8FF

#BAC8FF is a very light, moderate blue. Relative luminance 0.590; OKLCH L 84.1% C 0.079 H 273.5°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#BAC8FF
RGBrgb(186, 200, 255)
HSLhsl(228, 100%, 86%)
HSVhsv(228, 27%, 100%)
CMYKcmyk(27.1%, 21.6%, 0%, 0%)
CIE-LABlab(81.27, 7.12, -28.53)
CIE-LCHlch(81.27, 29.41, 284.01°)
OKLaboklab(84.11% 0.0048 -0.0785)
OKLCHoklch(84.11% 0.079 273.5)
XYZxyz(58.9491, 58.9660, 102.8640)
Luminance0.5897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC8FF #FFF1BA
analogous
#BAEBFF #BAC8FF #CFBAFF
triadic
#BAC8FF #FFBAC8 #C8FFBA
tetradic
#BAC8FF #FFBAEB #FFF1BA #BAFFCF
square
#BAC8FF #FFBAEB #FFF1BA #BAFFCF
split-complementary
#BAC8FF #FFCFBA #EBFFBA
monochromatic
#4066FF #7D97FF #BAC8FF #E0E7FF #E0E7FF

Accessibility & contrast

On white

1.64
#BAC8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#BAC8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC8FF
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC8FF#FFFFFF#000000##000000
##BAC8FF1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8CDFF
Deuteranopia (green-blind)
#B3C7FE
Tritanopia (blue-blind)
#A8D2DB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #bac8ff;
/* rgb */ color: rgb(186, 200, 255);
/* oklch */ color: oklch(84.1% 0.079 273.5);
Tailwind
colors: {
  custom: {
    50: '#d0d8ff',
    500: '#bac8ff',
    950: '#000000',
  },
}
SCSS
$custom: #bac8ff;
$custom-light: #d0d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bac8ff",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 255
  },
  "hsl": {
    "h": 227.826,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.84108,
    "c": 0.07867,
    "h": 273.5
  },
  "luminance": 0.58968
}

Semantic roles & 50–950 ramp

primary
#BAC8FF
secondary
#E7D076
accent
#B700E6
background
#FEFEFF
surface
#FBFBFF
border
#D4D4D7
text
#141418
muted
#838386

Preview Lab

Preview with #BAC8FF

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

Preview Lab → · Contrast checker → · Palette generator →

#BAC8FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva