#6879E8#6879E8

#6879E8 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.167 H 273.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6879E8
RGBrgb(104, 121, 232)
HSLhsl(232, 74%, 66%)
HSVhsv(232, 55%, 91%)
CMYKcmyk(55.2%, 47.8%, 0%, 9%)
CIE-LABlab(54.49, 25.27, -58.35)
CIE-LCHlch(54.49, 63.59, 293.41°)
OKLaboklab(61.73% 0.0115 -0.1665)
OKLCHoklch(61.73% 0.167 273.9)
XYZxyz(27.1071, 22.4421, 79.2316)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879E8 #E8D768
analogous
#68B9E8 #6879E8 #9768E8
triadic
#6879E8 #E86879 #79E868
tetradic
#6879E8 #E868B9 #E8D768 #68E897
square
#6879E8 #E868B9 #E8D768 #68E897
split-complementary
#6879E8 #E89768 #B9E868
monochromatic
#1C31B9 #334AE0 #6879E8 #9DA8F0 #D2D7F8

Accessibility & contrast

On white

3.83
#6879E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6879E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879E8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879E8#FFFFFF#000000##000000
##6879E81.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EC
Deuteranopia (green-blind)
#327DE6
Tritanopia (blue-blind)
#2192A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6879e8;
/* rgb */ color: rgb(104, 121, 232);
/* oklch */ color: oklch(61.7% 0.167 273.9);
Tailwind
colors: {
  custom: {
    50: '#9c9ff0',
    500: '#6879e8',
    950: '#000000',
  },
}
SCSS
$custom: #6879e8;
$custom-light: #9c9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#6879e8",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 232.031,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.16688,
    "h": 273.9
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

primary
#6879E8
secondary
#EBE5C1
accent
#BB10D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6879E8

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

Preview Lab → · Contrast checker → · Palette generator →

#6879E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva