#879EF2#879EF2

#879EF2 is a light, vivid blue. Relative luminance 0.360; OKLCH L 71.6% C 0.126 H 271.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#879EF2
RGBrgb(135, 158, 242)
HSLhsl(227, 80%, 74%)
HSVhsv(227, 44%, 95%)
CMYKcmyk(44.2%, 34.7%, 0%, 5.1%)
CIE-LABlab(66.53, 13.38, -44.65)
CIE-LCHlch(66.53, 46.62, 286.69°)
OKLaboklab(71.63% 0.0029 -0.1255)
OKLCHoklch(71.63% 0.126 271.3)
XYZxyz(38.2405, 36.0133, 88.9235)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EF2 #F2DB87
analogous
#87D4F2 #879EF2 #A687F2
triadic
#879EF2 #F2879E #9EF287
tetradic
#879EF2 #F287D4 #F2DB87 #87F2A6
square
#879EF2 #F287D4 #F2DB87 #87F2A6
split-complementary
#879EF2 #F2A687 #D4F287
monochromatic
#1945E6 #5071EC #879EF2 #BECBF8 #E3E9FC

Accessibility & contrast

On white

2.56
#879EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#879EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EF2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EF2#FFFFFF#000000##000000
##879EF21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F5
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#61AFBD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #879ef2;
/* rgb */ color: rgb(135, 158, 242);
/* oklch */ color: oklch(71.6% 0.126 271.3);
Tailwind
colors: {
  custom: {
    50: '#aebaf6',
    500: '#879ef2',
    950: '#000000',
  },
}
SCSS
$custom: #879ef2;
$custom-light: #aebaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#879ef2",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 227.103,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71625,
    "c": 0.12556,
    "h": 271.3
  },
  "luminance": 0.36015
}

Semantic roles & 50–950 ramp

primary
#879EF2
secondary
#F4EED7
accent
#AF09DD
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #879EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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