#879EFA#879EFA

#879EFA is a light, vivid blue. Relative luminance 0.365; OKLCH L 72.0% C 0.137 H 272.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#879EFA
RGBrgb(135, 158, 250)
HSLhsl(228, 92%, 75%)
HSVhsv(228, 46%, 98%)
CMYKcmyk(46%, 36.8%, 0%, 2%)
CIE-LABlab(66.90, 15.68, -48.43)
CIE-LCHlch(66.90, 50.91, 287.94°)
OKLaboklab(72.04% 0.0047 -0.1365)
OKLCHoklch(72.04% 0.137 272)
XYZxyz(39.4684, 36.5045, 95.3903)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EFA #FAE387
analogous
#87D7FA #879EFA #A987FA
triadic
#879EFA #FA879E #9EFA87
tetradic
#879EFA #FA87D7 #FAE387 #87FAA9
square
#879EFA #FA87D7 #FAE387 #87FAA9
split-complementary
#879EFA #FAA987 #D7FA87
monochromatic
#113FF5 #4C6FF8 #879EFA #C2CDFC #E2E7FE

Accessibility & contrast

On white

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

On black

8.30
#879EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EFA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EFA#FFFFFF#000000##000000
##879EFA1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#5CB1C0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #879efa;
/* rgb */ color: rgb(135, 158, 250);
/* oklch */ color: oklch(72.0% 0.137 272.0);
Tailwind
colors: {
  custom: {
    50: '#afbafc',
    500: '#879efa',
    950: '#000000',
  },
}
SCSS
$custom: #879efa;
$custom-light: #afbafc;
$custom-dark: #000000;
JSON
{
  "hex": "#879efa",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 228,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.13661,
    "h": 272
  },
  "luminance": 0.36507
}

Semantic roles & 50–950 ramp

primary
#879EFA
secondary
#F6EFD5
accent
#B800E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #879EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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