#879DF7#879DF7

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

Color values

HEX#879DF7
RGBrgb(135, 157, 247)
HSLhsl(228, 88%, 75%)
HSVhsv(228, 45%, 97%)
CMYKcmyk(45.3%, 36.4%, 0%, 3.1%)
CIE-LABlab(66.50, 15.39, -47.43)
CIE-LCHlch(66.50, 49.86, 287.98°)
OKLaboklab(71.68% 0.0052 -0.1336)
OKLCHoklch(71.68% 0.134 272.2)
XYZxyz(38.8319, 35.9781, 92.8760)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879DF7 #F7E187
analogous
#87D5F7 #879DF7 #A987F7
triadic
#879DF7 #F7879D #9DF787
tetradic
#879DF7 #F787D5 #F7E187 #87F7A9
square
#879DF7 #F787D5 #F7E187 #87F7A9
split-complementary
#879DF7 #F7A987 #D5F787
monochromatic
#143FEF #4E6EF3 #879DF7 #C0CCFB #E2E8FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879DF7#FFFFFF#000000##000000
##879DF71.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)
#7CA7FB
Deuteranopia (green-blind)
#729DF5
Tritanopia (blue-blind)
#5EB0BE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #879df7;
/* rgb */ color: rgb(135, 157, 247);
/* oklch */ color: oklch(71.7% 0.134 272.2);
Tailwind
colors: {
  custom: {
    50: '#afb9fa',
    500: '#879df7',
    950: '#000000',
  },
}
SCSS
$custom: #879df7;
$custom-light: #afb9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#879df7",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 228.214,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7168,
    "c": 0.13371,
    "h": 272.2
  },
  "luminance": 0.3598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #879DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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