#6879EB#6879EB

#6879EB is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.171 H 274.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6879EB
RGBrgb(104, 121, 235)
HSLhsl(232, 77%, 66%)
HSVhsv(232, 56%, 92%)
CMYKcmyk(55.7%, 48.5%, 0%, 7.8%)
CIE-LABlab(54.67, 26.23, -59.74)
CIE-LCHlch(54.67, 65.24, 293.70°)
OKLaboklab(61.92% 0.0118 -0.1706)
OKLCHoklch(61.92% 0.171 274)
XYZxyz(27.5368, 22.6140, 81.4950)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879EB #EBDA68
analogous
#68BBEB #6879EB #9968EB
triadic
#6879EB #EB6879 #79EB68
tetradic
#6879EB #EB68BB #EBDA68 #68EB99
square
#6879EB #EB68BB #EBDA68 #68EB99
split-complementary
#6879EB #EB9968 #BBEB68
monochromatic
#192FBF #3249E4 #6879EB #9EA9F2 #D4D9F9

Accessibility & contrast

On white

3.80
#6879EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6879EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879EB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879EB#FFFFFF#000000##000000
##6879EB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#2D7DE9
Tritanopia (blue-blind)
#1A93A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6879eb;
/* rgb */ color: rgb(104, 121, 235);
/* oklch */ color: oklch(61.9% 0.171 274.0);
Tailwind
colors: {
  custom: {
    50: '#9d9ff2',
    500: '#6879eb',
    950: '#000000',
  },
}
SCSS
$custom: #6879eb;
$custom-light: #9d9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6879eb",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 232.214,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.17098,
    "h": 274
  },
  "luminance": 0.22616
}

Semantic roles & 50–950 ramp

primary
#6879EB
secondary
#EDE7C2
accent
#BE0DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6879EB

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

Preview Lab → · Contrast checker → · Palette generator →

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