#879EF0#879EF0

#879EF0 is a light, vivid blue. Relative luminance 0.359; OKLCH L 71.5% C 0.123 H 271.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#879EF0
RGBrgb(135, 158, 240)
HSLhsl(227, 78%, 74%)
HSVhsv(227, 44%, 94%)
CMYKcmyk(43.8%, 34.2%, 0%, 5.9%)
CIE-LABlab(66.44, 12.81, -43.70)
CIE-LCHlch(66.44, 45.54, 286.34°)
OKLaboklab(71.52% 0.0024 -0.1228)
OKLCHoklch(71.52% 0.123 271.1)
XYZxyz(37.9418, 35.8938, 87.3501)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879EF0 #F0D987
analogous
#87D2F0 #879EF0 #A487F0
triadic
#879EF0 #F0879E #9EF087
tetradic
#879EF0 #F087D2 #F0D987 #87F0A4
square
#879EF0 #F087D2 #F0D987 #87F0A4
split-complementary
#879EF0 #F0A487 #D2F087
monochromatic
#1C47E1 #5172E9 #879EF0 #BDCAF7 #E4E9FC

Accessibility & contrast

On white

2.57
#879EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#879EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879EF0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879EF0#FFFFFF#000000##000000
##879EF01.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F3
Deuteranopia (green-blind)
#779DEE
Tritanopia (blue-blind)
#62AFBC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #879ef0;
/* rgb */ color: rgb(135, 158, 240);
/* oklch */ color: oklch(71.5% 0.123 271.1);
Tailwind
colors: {
  custom: {
    50: '#aebaf5',
    500: '#879ef0',
    950: '#000000',
  },
}
SCSS
$custom: #879ef0;
$custom-light: #aebaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#879ef0",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 240
  },
  "hsl": {
    "h": 226.857,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.12279,
    "h": 271.1
  },
  "luminance": 0.35896
}

Semantic roles & 50–950 ramp

primary
#879EF0
secondary
#F3EDD8
accent
#AD0BDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #879EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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