#879EF9#879EF9

#879EF9 is a light, vivid blue. Relative luminance 0.364; OKLCH L 72.0% C 0.135 H 271.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#879EF9
RGBrgb(135, 158, 249)
HSLhsl(228, 90%, 75%)
HSVhsv(228, 46%, 98%)
CMYKcmyk(45.8%, 36.5%, 0%, 2.4%)
CIE-LABlab(66.86, 15.39, -47.96)
CIE-LCHlch(66.86, 50.37, 287.80°)
OKLaboklab(71.98% 0.0045 -0.1352)
OKLCHoklch(71.98% 0.135 271.9)
XYZxyz(39.3120, 36.4419, 94.5667)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EF9 #F9E287
analogous
#87D7F9 #879EF9 #A987F9
triadic
#879EF9 #F9879E #9EF987
tetradic
#879EF9 #F987D7 #F9E287 #87F9A9
square
#879EF9 #F987D7 #F9E287 #87F9A9
split-complementary
#879EF9 #F9A987 #D7F987
monochromatic
#1240F3 #4D6FF6 #879EF9 #C1CDFC #E2E7FE

Accessibility & contrast

On white

2.53
#879EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#879EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EF9
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EF9#FFFFFF#000000##000000
##879EF91.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FD
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#5DB1C0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #879ef9;
/* rgb */ color: rgb(135, 158, 249);
/* oklch */ color: oklch(72.0% 0.135 271.9);
Tailwind
colors: {
  custom: {
    50: '#afbafb',
    500: '#879ef9',
    950: '#000000',
  },
}
SCSS
$custom: #879ef9;
$custom-light: #afbafb;
$custom-dark: #000000;
JSON
{
  "hex": "#879ef9",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 227.895,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.13523,
    "h": 271.9
  },
  "luminance": 0.36444
}

Semantic roles & 50–950 ramp

primary
#879EF9
secondary
#F6EFD5
accent
#B700E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #879EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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