#879EFE#879EFE

#879EFE is a light, vivid blue. Relative luminance 0.368; OKLCH L 72.2% C 0.142 H 272.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#879EFE
RGBrgb(135, 158, 254)
HSLhsl(228, 98%, 76%)
HSVhsv(228, 47%, 100%)
CMYKcmyk(46.9%, 37.8%, 0%, 0.4%)
CIE-LABlab(67.10, 16.85, -50.31)
CIE-LCHlch(67.10, 53.06, 288.51°)
OKLaboklab(72.25% 0.0055 -0.142)
OKLCHoklch(72.25% 0.142 272.2)
XYZxyz(40.1023, 36.7580, 98.7286)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EFE #FEE787
analogous
#87DAFE #879EFE #AC87FE
triadic
#879EFE #FE879E #9EFE87
tetradic
#879EFE #FE87DA #FEE787 #87FEAC
square
#879EFE #FE87DA #FEE787 #87FEAC
split-complementary
#879EFE #FEAC87 #DAFE87
monochromatic
#0E3CFD #4A6DFD #879EFE #C4CFFF #E1E6FF

Accessibility & contrast

On white

2.51
#879EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#879EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EFE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EFE#FFFFFF#000000##000000
##879EFE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#6E9FFC
Tritanopia (blue-blind)
#59B2C2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #879efe;
/* rgb */ color: rgb(135, 158, 254);
/* oklch */ color: oklch(72.2% 0.142 272.2);
Tailwind
colors: {
  custom: {
    50: '#afbaff',
    500: '#879efe',
    950: '#000000',
  },
}
SCSS
$custom: #879efe;
$custom-light: #afbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#879efe",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 228.403,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.14211,
    "h": 272.2
  },
  "luminance": 0.3676
}

Semantic roles & 50–950 ramp

primary
#879EFE
secondary
#F7F0D4
accent
#B900E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #879EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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