#879EF6#879EF6

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

Color values

HEX#879EF6
RGBrgb(135, 158, 246)
HSLhsl(228, 86%, 75%)
HSVhsv(228, 45%, 96%)
CMYKcmyk(45.1%, 35.8%, 0%, 3.5%)
CIE-LABlab(66.72, 14.53, -46.55)
CIE-LCHlch(66.72, 48.76, 287.34°)
OKLaboklab(71.83% 0.0038 -0.131)
OKLCHoklch(71.83% 0.131 271.7)
XYZxyz(38.8479, 36.2563, 92.1221)
Luminance0.3626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EF6 #F6DF87
analogous
#87D5F6 #879EF6 #A887F6
triadic
#879EF6 #F6879E #9EF687
tetradic
#879EF6 #F687D5 #F6DF87 #87F6A8
square
#879EF6 #F687D5 #F6DF87 #87F6A8
split-complementary
#879EF6 #F6A887 #D5F687
monochromatic
#1542ED #4E70F2 #879EF6 #C0CCFA #E3E8FD

Accessibility & contrast

On white

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

On black

8.25
#879EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EF6
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EF6#FFFFFF#000000##000000
##879EF61.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA7FA
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#5FB0BE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #879ef6;
/* rgb */ color: rgb(135, 158, 246);
/* oklch */ color: oklch(71.8% 0.131 271.7);
Tailwind
colors: {
  custom: {
    50: '#afbaf9',
    500: '#879ef6',
    950: '#000000',
  },
}
SCSS
$custom: #879ef6;
$custom-light: #afbaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#879ef6",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 227.568,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71828,
    "c": 0.13109,
    "h": 271.7
  },
  "luminance": 0.36258
}

Semantic roles & 50–950 ramp

primary
#879EF6
secondary
#F5EED6
accent
#B403E3
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #879EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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