#879CF8#879CF8

#879CF8 is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.5% C 0.136 H 272.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#879CF8
RGBrgb(135, 156, 248)
HSLhsl(229, 89%, 75%)
HSVhsv(229, 46%, 97%)
CMYKcmyk(45.6%, 37.1%, 0%, 2.7%)
CIE-LABlab(66.29, 16.26, -48.31)
CIE-LCHlch(66.29, 50.97, 288.60°)
OKLaboklab(71.53% 0.0066 -0.1362)
OKLCHoklch(71.53% 0.136 272.8)
XYZxyz(38.8181, 35.7030, 93.6347)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879CF8 #F8E387
analogous
#87D4F8 #879CF8 #AB87F8
triadic
#879CF8 #F8879C #9CF887
tetradic
#879CF8 #F887D4 #F8E387 #87F8AB
square
#879CF8 #F887D4 #F8E387 #87F8AB
split-complementary
#879CF8 #F8AB87 #D4F887
monochromatic
#133DF1 #4D6CF5 #879CF8 #C1CCFB #E2E7FD

Accessibility & contrast

On white

2.58
#879CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#879CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879CF8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879CF8#FFFFFF#000000##000000
##879CF81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#5EAFBE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #879cf8;
/* rgb */ color: rgb(135, 156, 248);
/* oklch */ color: oklch(71.5% 0.136 272.8);
Tailwind
colors: {
  custom: {
    50: '#afb9fb',
    500: '#879cf8',
    950: '#000000',
  },
}
SCSS
$custom: #879cf8;
$custom-light: #afb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#879cf8",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 248
  },
  "hsl": {
    "h": 228.85,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71533,
    "c": 0.13633,
    "h": 272.8
  },
  "luminance": 0.35705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #879CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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