#879EF3#879EF3

#879EF3 is a light, vivid blue. Relative luminance 0.361; OKLCH L 71.7% C 0.127 H 271.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#879EF3
RGBrgb(135, 158, 243)
HSLhsl(227, 82%, 74%)
HSVhsv(227, 44%, 95%)
CMYKcmyk(44.4%, 35%, 0%, 4.7%)
CIE-LABlab(66.58, 13.67, -45.13)
CIE-LCHlch(66.58, 47.15, 286.85°)
OKLaboklab(71.68% 0.0031 -0.1269)
OKLCHoklch(71.68% 0.127 271.4)
XYZxyz(38.3911, 36.0736, 89.7166)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EF3 #F3DC87
analogous
#87D4F3 #879EF3 #A687F3
triadic
#879EF3 #F3879E #9EF387
tetradic
#879EF3 #F387D4 #F3DC87 #87F3A6
square
#879EF3 #F387D4 #F3DC87 #87F3A6
split-complementary
#879EF3 #F3A687 #D4F387
monochromatic
#1844E8 #4F71ED #879EF3 #BFCBF9 #E3E9FC

Accessibility & contrast

On white

2.56
#879EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#879EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EF3
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EF3#FFFFFF#000000##000000
##879EF31.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F6
Deuteranopia (green-blind)
#759EF1
Tritanopia (blue-blind)
#60B0BD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #879ef3;
/* rgb */ color: rgb(135, 158, 243);
/* oklch */ color: oklch(71.7% 0.127 271.4);
Tailwind
colors: {
  custom: {
    50: '#aebaf7',
    500: '#879ef3',
    950: '#000000',
  },
}
SCSS
$custom: #879ef3;
$custom-light: #aebaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#879ef3",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 243
  },
  "hsl": {
    "h": 227.222,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71675,
    "c": 0.12695,
    "h": 271.4
  },
  "luminance": 0.36076
}

Semantic roles & 50–950 ramp

primary
#879EF3
secondary
#F4EED7
accent
#B007DE
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #879EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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