#879BF6#879BF6

#879BF6 is a light, vivid blue. Relative luminance 0.352; OKLCH L 71.2% C 0.135 H 273.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#879BF6
RGBrgb(135, 155, 246)
HSLhsl(229, 86%, 75%)
HSVhsv(229, 45%, 96%)
CMYKcmyk(45.1%, 37%, 0%, 3.5%)
CIE-LABlab(65.94, 16.26, -47.77)
CIE-LCHlch(65.94, 50.46, 288.80°)
OKLaboklab(71.23% 0.0074 -0.1346)
OKLCHoklch(71.23% 0.135 273.1)
XYZxyz(38.3424, 35.2453, 91.9536)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879BF6 #F6E287
analogous
#87D3F6 #879BF6 #AA87F6
triadic
#879BF6 #F6879B #9BF687
tetradic
#879BF6 #F687D3 #F6E287 #87F6AA
square
#879BF6 #F687D3 #F6E287 #87F6AA
split-complementary
#879BF6 #F6AA87 #D3F687
monochromatic
#153CED #4E6CF2 #879BF6 #C0CAFA #E3E7FD

Accessibility & contrast

On white

2.61
#879BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#879BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879BF6
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879BF6#FFFFFF#000000##000000
##879BF61.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5FA
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#5FAEBD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #879bf6;
/* rgb */ color: rgb(135, 155, 246);
/* oklch */ color: oklch(71.2% 0.135 273.1);
Tailwind
colors: {
  custom: {
    50: '#afb8f9',
    500: '#879bf6',
    950: '#000000',
  },
}
SCSS
$custom: #879bf6;
$custom-light: #afb8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#879bf6",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 246
  },
  "hsl": {
    "h": 229.189,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7123,
    "c": 0.13481,
    "h": 273.1
  },
  "luminance": 0.35247
}

Semantic roles & 50–950 ramp

primary
#879BF6
secondary
#F5EFD6
accent
#BA03E3
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #879BF6

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

Preview Lab → · Contrast checker → · Palette generator →

#879BF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva