#6873F7#6873F7

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

Color values

HEX#6873F7
RGBrgb(104, 115, 247)
HSLhsl(235, 90%, 69%)
HSVhsv(235, 58%, 97%)
CMYKcmyk(57.9%, 53.4%, 0%, 3.1%)
CIE-LABlab(53.94, 33.68, -67.60)
CIE-LCHlch(53.94, 75.52, 296.48°)
OKLaboklab(61.61% 0.0187 -0.1937)
OKLCHoklch(61.61% 0.195 275.5)
XYZxyz(28.6227, 21.9178, 90.6999)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873F7 #F7EC68
analogous
#68BBF7 #6873F7 #A568F7
triadic
#6873F7 #F76873 #73F768
tetradic
#6873F7 #F768BB #F7EC68 #68F7A5
square
#6873F7 #F768BB #F7EC68 #68F7A5
split-complementary
#6873F7 #F7A568 #BBF768
monochromatic
#0C1BD9 #2E3DF4 #6873F7 #A2A9FA #DCDFFD

Accessibility & contrast

On white

3.90
#6873F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#6873F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873F7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873F7#FFFFFF#000000##000000
##6873F71.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B87FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#0092AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6873f7;
/* rgb */ color: rgb(104, 115, 247);
/* oklch */ color: oklch(61.6% 0.195 275.5);
Tailwind
colors: {
  custom: {
    50: '#9f9bfb',
    500: '#6873f7',
    950: '#000000',
  },
}
SCSS
$custom: #6873f7;
$custom-light: #9f9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6873f7",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 235.385,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61612,
    "c": 0.19465,
    "h": 275.5
  },
  "luminance": 0.2192
}

Semantic roles & 50–950 ramp

primary
#6873F7
secondary
#F3EFC8
accent
#D400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6873F7

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

Preview Lab → · Contrast checker → · Palette generator →

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