#6873F1#6873F1

#6873F1 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.2% C 0.187 H 275.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6873F1
RGBrgb(104, 115, 241)
HSLhsl(235, 83%, 68%)
HSVhsv(235, 57%, 95%)
CMYKcmyk(56.8%, 52.3%, 0%, 5.5%)
CIE-LABlab(53.55, 31.76, -64.89)
CIE-LCHlch(53.55, 72.25, 296.08°)
OKLaboklab(61.2% 0.0184 -0.1858)
OKLCHoklch(61.2% 0.187 275.7)
XYZxyz(27.7117, 21.5534, 85.9020)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873F1 #F1E668
analogous
#68B8F1 #6873F1 #A168F1
triadic
#6873F1 #F16873 #73F168
tetradic
#6873F1 #F168B8 #F1E668 #68F1A1
square
#6873F1 #F168B8 #F1E668 #68F1A1
split-complementary
#6873F1 #F1A168 #B8F168
monochromatic
#1322CC #303FEC #6873F1 #A0A7F6 #D8DBFB

Accessibility & contrast

On white

3.95
#6873F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6873F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873F1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873F1#FFFFFF#000000##000000
##6873F11.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2886F5
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#0B90A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6873f1;
/* rgb */ color: rgb(104, 115, 241);
/* oklch */ color: oklch(61.2% 0.187 275.7);
Tailwind
colors: {
  custom: {
    50: '#9e9bf6',
    500: '#6873f1',
    950: '#000000',
  },
}
SCSS
$custom: #6873f1;
$custom-light: #9e9bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6873f1",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 241
  },
  "hsl": {
    "h": 235.182,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.18669,
    "h": 275.7
  },
  "luminance": 0.21555
}

Semantic roles & 50–950 ramp

primary
#6873F1
secondary
#F0ECC5
accent
#CE06DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6873F1

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

Preview Lab → · Contrast checker → · Palette generator →

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