#6873F6#6873F6

#6873F6 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.5% C 0.193 H 275.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6873F6
RGBrgb(104, 115, 246)
HSLhsl(235, 89%, 69%)
HSVhsv(235, 58%, 96%)
CMYKcmyk(57.7%, 53.3%, 0%, 3.5%)
CIE-LABlab(53.87, 33.36, -67.15)
CIE-LCHlch(53.87, 74.98, 296.42°)
OKLaboklab(61.54% 0.0187 -0.1924)
OKLCHoklch(61.54% 0.193 275.5)
XYZxyz(28.4688, 21.8562, 89.8894)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873F6 #F6EB68
analogous
#68BAF6 #6873F6 #A468F6
triadic
#6873F6 #F66873 #73F668
tetradic
#6873F6 #F668BA #F6EB68 #68F6A4
square
#6873F6 #F668BA #F6EB68 #68F6A4
split-complementary
#6873F6 #F6A468 #BAF668
monochromatic
#0D1CD7 #2E3DF3 #6873F6 #A2A9F9 #DCDEFD

Accessibility & contrast

On white

3.91
#6873F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6873F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873F6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873F6#FFFFFF#000000##000000
##6873F61.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E87FB
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#0091A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6873f6;
/* rgb */ color: rgb(104, 115, 246);
/* oklch */ color: oklch(61.5% 0.193 275.5);
Tailwind
colors: {
  custom: {
    50: '#9e9bfa',
    500: '#6873f6',
    950: '#000000',
  },
}
SCSS
$custom: #6873f6;
$custom-light: #9e9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6873f6",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 246
  },
  "hsl": {
    "h": 235.352,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.19332,
    "h": 275.5
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#6873F6
secondary
#F2EFC8
accent
#D400E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6873F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6873F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva