#879EFD#879EFD

#879EFD is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.2% C 0.141 H 272.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#879EFD
RGBrgb(135, 158, 253)
HSLhsl(228, 97%, 76%)
HSVhsv(228, 47%, 99%)
CMYKcmyk(46.6%, 37.5%, 0%, 0.8%)
CIE-LABlab(67.05, 16.55, -49.84)
CIE-LCHlch(67.05, 52.52, 288.37°)
OKLaboklab(72.19% 0.0053 -0.1406)
OKLCHoklch(72.19% 0.141 272.2)
XYZxyz(39.9426, 36.6941, 97.8874)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EFD #FDE687
analogous
#87D9FD #879EFD #AB87FD
triadic
#879EFD #FD879E #9EFD87
tetradic
#879EFD #FD87D9 #FDE687 #87FDAB
square
#879EFD #FD87D9 #FDE687 #87FDAB
split-complementary
#879EFD #FDAB87 #D9FD87
monochromatic
#0F3DFB #4B6DFC #879EFD #C3CFFE #E1E7FE

Accessibility & contrast

On white

2.52
#879EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#879EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EFD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EFD#FFFFFF#000000##000000
##879EFD1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#5AB2C1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #879efd;
/* rgb */ color: rgb(135, 158, 253);
/* oklch */ color: oklch(72.2% 0.141 272.2);
Tailwind
colors: {
  custom: {
    50: '#afbafe',
    500: '#879efd',
    950: '#000000',
  },
}
SCSS
$custom: #879efd;
$custom-light: #afbafe;
$custom-dark: #000000;
JSON
{
  "hex": "#879efd",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 228.305,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72193,
    "c": 0.14074,
    "h": 272.2
  },
  "luminance": 0.36696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #879EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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