#879EF7#879EF7

#879EF7 is a light, vivid blue. Relative luminance 0.363; OKLCH L 71.9% C 0.132 H 271.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#879EF7
RGBrgb(135, 158, 247)
HSLhsl(228, 88%, 75%)
HSVhsv(228, 45%, 97%)
CMYKcmyk(45.3%, 36%, 0%, 3.1%)
CIE-LABlab(66.76, 14.82, -47.02)
CIE-LCHlch(66.76, 49.30, 287.49°)
OKLaboklab(71.88% 0.004 -0.1324)
OKLCHoklch(71.88% 0.132 271.7)
XYZxyz(39.0018, 36.3178, 92.9326)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EF7 #F7E087
analogous
#87D6F7 #879EF7 #A887F7
triadic
#879EF7 #F7879E #9EF787
tetradic
#879EF7 #F787D6 #F7E087 #87F7A8
square
#879EF7 #F787D6 #F7E087 #87F7A8
split-complementary
#879EF7 #F7A887 #D6F787
monochromatic
#1441EF #4E70F3 #879EF7 #C0CCFB #E2E8FD

Accessibility & contrast

On white

2.54
#879EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#879EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EF7
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EF7#FFFFFF#000000##000000
##879EF71.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FB
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#5EB0BF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #879ef7;
/* rgb */ color: rgb(135, 158, 247);
/* oklch */ color: oklch(71.9% 0.132 271.7);
Tailwind
colors: {
  custom: {
    50: '#afbafa',
    500: '#879ef7',
    950: '#000000',
  },
}
SCSS
$custom: #879ef7;
$custom-light: #afbafa;
$custom-dark: #000000;
JSON
{
  "hex": "#879ef7",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 227.679,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7188,
    "c": 0.13248,
    "h": 271.7
  },
  "luminance": 0.3632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #879EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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