#879DFD#879DFD

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

Color values

HEX#879DFD
RGBrgb(135, 157, 253)
HSLhsl(229, 97%, 76%)
HSVhsv(229, 47%, 99%)
CMYKcmyk(46.6%, 37.9%, 0%, 0.8%)
CIE-LABlab(66.79, 17.13, -50.25)
CIE-LCHlch(66.79, 53.09, 288.82°)
OKLaboklab(72% 0.0065 -0.1418)
OKLCHoklch(72% 0.142 272.6)
XYZxyz(39.7727, 36.3544, 97.8308)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879DFD #FDE787
analogous
#87D8FD #879DFD #AC87FD
triadic
#879DFD #FD879D #9DFD87
tetradic
#879DFD #FD87D8 #FDE787 #87FDAC
square
#879DFD #FD87D8 #FDE787 #87FDAC
split-complementary
#879DFD #FDAC87 #D8FD87
monochromatic
#0F3BFB #4B6CFC #879DFD #C3CEFE #E1E6FE

Accessibility & contrast

On white

2.54
#879DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#879DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879DFD
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879DFD#FFFFFF#000000##000000
##879DFD1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#5AB1C1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #879dfd;
/* rgb */ color: rgb(135, 157, 253);
/* oklch */ color: oklch(72.0% 0.142 272.6);
Tailwind
colors: {
  custom: {
    50: '#afb9fe',
    500: '#879dfd',
    950: '#000000',
  },
}
SCSS
$custom: #879dfd;
$custom-light: #afb9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#879dfd",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 228.814,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71995,
    "c": 0.14198,
    "h": 272.6
  },
  "luminance": 0.36357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #879DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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