#879DF8#879DF8

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

Color values

HEX#879DF8
RGBrgb(135, 157, 248)
HSLhsl(228, 89%, 75%)
HSVhsv(228, 46%, 97%)
CMYKcmyk(45.6%, 36.7%, 0%, 2.7%)
CIE-LABlab(66.55, 15.68, -47.90)
CIE-LCHlch(66.55, 50.40, 288.13°)
OKLaboklab(71.73% 0.0054 -0.135)
OKLCHoklch(71.73% 0.135 272.3)
XYZxyz(38.9866, 36.0400, 93.6908)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879DF8 #F8E287
analogous
#87D5F8 #879DF8 #AA87F8
triadic
#879DF8 #F8879D #9DF887
tetradic
#879DF8 #F887D5 #F8E287 #87F8AA
square
#879DF8 #F887D5 #F8E287 #87F8AA
split-complementary
#879DF8 #F8AA87 #D5F887
monochromatic
#133FF1 #4D6EF5 #879DF8 #C1CCFB #E2E7FD

Accessibility & contrast

On white

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

On black

8.21
#879DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879DF8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879DF8#FFFFFF#000000##000000
##879DF81.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#5DB0BF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #879df8;
/* rgb */ color: rgb(135, 157, 248);
/* oklch */ color: oklch(71.7% 0.135 272.3);
Tailwind
colors: {
  custom: {
    50: '#afb9fb',
    500: '#879df8',
    950: '#000000',
  },
}
SCSS
$custom: #879df8;
$custom-light: #afb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#879df8",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 228.319,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.13509,
    "h": 272.3
  },
  "luminance": 0.36042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #879DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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