#879AFA#879AFA

#879AFA is a light, vivid blue. Relative luminance 0.352; OKLCH L 71.2% C 0.142 H 273.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#879AFA
RGBrgb(135, 154, 250)
HSLhsl(230, 92%, 75%)
HSVhsv(230, 46%, 98%)
CMYKcmyk(46%, 38.4%, 0%, 2%)
CIE-LABlab(65.87, 17.99, -50.06)
CIE-LCHlch(65.87, 53.19, 289.77°)
OKLaboklab(71.24% 0.0094 -0.1413)
OKLCHoklch(71.24% 0.142 273.8)
XYZxyz(38.7972, 35.1621, 95.1666)
Luminance0.3516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879AFA #FAE787
analogous
#87D3FA #879AFA #AD87FA
triadic
#879AFA #FA879A #9AFA87
tetradic
#879AFA #FA87D3 #FAE787 #87FAAD
square
#879AFA #FA87D3 #FAE787 #87FAAD
split-complementary
#879AFA #FAAD87 #D3FA87
monochromatic
#1137F5 #4C69F8 #879AFA #C2CBFC #E2E6FE

Accessibility & contrast

On white

2.61
#879AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#879AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879AFA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879AFA#FFFFFF#000000##000000
##879AFA1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#5DAEBE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #879afa;
/* rgb */ color: rgb(135, 154, 250);
/* oklch */ color: oklch(71.2% 0.142 273.8);
Tailwind
colors: {
  custom: {
    50: '#afb7fc',
    500: '#879afa',
    950: '#000000',
  },
}
SCSS
$custom: #879afa;
$custom-light: #afb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#879afa",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 230.087,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71244,
    "c": 0.1416,
    "h": 273.8
  },
  "luminance": 0.35164
}

Semantic roles & 50–950 ramp

primary
#879AFA
secondary
#F6F0D5
accent
#C000E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #879AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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