#6879F8#6879F8

#6879F8 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.8% C 0.188 H 273.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6879F8
RGBrgb(104, 121, 248)
HSLhsl(233, 91%, 69%)
HSVhsv(233, 58%, 97%)
CMYKcmyk(58.1%, 51.2%, 0%, 2.7%)
CIE-LABlab(55.47, 30.39, -65.67)
CIE-LCHlch(55.47, 72.36, 294.83°)
OKLaboklab(62.79% 0.013 -0.188)
OKLCHoklch(62.79% 0.188 273.9)
XYZxyz(29.4840, 23.3929, 91.7503)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879F8 #F8E768
analogous
#68C1F8 #6879F8 #9F68F8
triadic
#6879F8 #F86879 #79F868
tetradic
#6879F8 #F868C1 #F8E768 #68F89F
square
#6879F8 #F868C1 #F8E768 #68F89F
split-complementary
#6879F8 #F89F68 #C1F868
monochromatic
#0A23DB #2E45F5 #6879F8 #A2ADFB #DDE1FD

Accessibility & contrast

On white

3.70
#6879F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#6879F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879F8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879F8#FFFFFF#000000##000000
##6879F81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFC
Deuteranopia (green-blind)
#057FF5
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6879f8;
/* rgb */ color: rgb(104, 121, 248);
/* oklch */ color: oklch(62.8% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#9e9ffb',
    500: '#6879f8',
    950: '#000000',
  },
}
SCSS
$custom: #6879f8;
$custom-light: #9e9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#6879f8",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 232.917,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.18848,
    "h": 273.9
  },
  "luminance": 0.23395
}

Semantic roles & 50–950 ramp

primary
#6879F8
secondary
#F3EEC9
accent
#CA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6879F8

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

Preview Lab → · Contrast checker → · Palette generator →

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