#879DFE#879DFE

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

Color values

HEX#879DFE
RGBrgb(135, 157, 254)
HSLhsl(229, 98%, 76%)
HSVhsv(229, 47%, 100%)
CMYKcmyk(46.9%, 38.2%, 0%, 0.4%)
CIE-LABlab(66.84, 17.42, -50.72)
CIE-LCHlch(66.84, 53.63, 288.96°)
OKLaboklab(72.05% 0.0067 -0.1432)
OKLCHoklch(72.05% 0.143 272.7)
XYZxyz(39.9324, 36.4183, 98.6720)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879DFE #FEE887
analogous
#87D8FE #879DFE #AD87FE
triadic
#879DFE #FE879D #9DFE87
tetradic
#879DFE #FE87D8 #FEE887 #87FEAD
square
#879DFE #FE87D8 #FEE887 #87FEAD
split-complementary
#879DFE #FEAD87 #D8FE87
monochromatic
#0E3AFD #4A6BFD #879DFE #C4CFFF #E1E6FF

Accessibility & contrast

On white

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

On black

8.28
#879DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879DFE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879DFE#FFFFFF#000000##000000
##879DFE1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#6D9EFC
Tritanopia (blue-blind)
#5AB1C1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #879dfe;
/* rgb */ color: rgb(135, 157, 254);
/* oklch */ color: oklch(72.0% 0.143 272.7);
Tailwind
colors: {
  custom: {
    50: '#afb9ff',
    500: '#879dfe',
    950: '#000000',
  },
}
SCSS
$custom: #879dfe;
$custom-light: #afb9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#879dfe",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 228.908,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72048,
    "c": 0.14335,
    "h": 272.7
  },
  "luminance": 0.36421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #879DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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