#879BF7#879BF7

#879BF7 is a light, vivid blue. Relative luminance 0.353; OKLCH L 71.3% C 0.136 H 273.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#879BF7
RGBrgb(135, 155, 247)
HSLhsl(229, 88%, 75%)
HSVhsv(229, 45%, 97%)
CMYKcmyk(45.3%, 37.2%, 0%, 3.1%)
CIE-LABlab(65.99, 16.55, -48.24)
CIE-LCHlch(65.99, 51.00, 288.93°)
OKLaboklab(71.28% 0.0076 -0.136)
OKLCHoklch(71.28% 0.136 273.2)
XYZxyz(38.4963, 35.3069, 92.7641)
Luminance0.3531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879BF7 #F7E387
analogous
#87D3F7 #879BF7 #AB87F7
triadic
#879BF7 #F7879B #9BF787
tetradic
#879BF7 #F787D3 #F7E387 #87F7AB
square
#879BF7 #F787D3 #F7E387 #87F7AB
split-complementary
#879BF7 #F7AB87 #D3F787
monochromatic
#143BEF #4E6BF3 #879BF7 #C0CBFB #E2E7FD

Accessibility & contrast

On white

2.60
#879BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#879BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879BF7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879BF7#FFFFFF#000000##000000
##879BF71.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#5EAEBD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #879bf7;
/* rgb */ color: rgb(135, 155, 247);
/* oklch */ color: oklch(71.3% 0.136 273.2);
Tailwind
colors: {
  custom: {
    50: '#afb8fa',
    500: '#879bf7',
    950: '#000000',
  },
}
SCSS
$custom: #879bf7;
$custom-light: #afb8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#879bf7",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 229.286,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71283,
    "c": 0.1362,
    "h": 273.2
  },
  "luminance": 0.35309
}

Semantic roles & 50–950 ramp

primary
#879BF7
secondary
#F5F0D6
accent
#BC01E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #879BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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