#6873E5#6873E5

#6873E5 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.171 H 275.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6873E5
RGBrgb(104, 115, 229)
HSLhsl(235, 71%, 65%)
HSVhsv(235, 55%, 90%)
CMYKcmyk(54.6%, 49.8%, 0%, 10.2%)
CIE-LABlab(52.80, 27.95, -59.40)
CIE-LCHlch(52.80, 65.64, 295.20°)
OKLaboklab(60.39% 0.0175 -0.1696)
OKLCHoklch(60.39% 0.171 275.9)
XYZxyz(25.9780, 20.8599, 76.7710)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873E5 #E5DA68
analogous
#68B1E5 #6873E5 #9B68E5
triadic
#6873E5 #E56873 #73E568
tetradic
#6873E5 #E568B1 #E5DA68 #68E59B
square
#6873E5 #E568B1 #E5DA68 #68E59B
split-complementary
#6873E5 #E59B68 #B1E568
monochromatic
#1F2CB4 #3443DC #6873E5 #9CA3EE #D0D4F7

Accessibility & contrast

On white

4.06
#6873E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6873E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873E5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873E5#FFFFFF#000000##000000
##6873E51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E9
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#278DA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6873e5;
/* rgb */ color: rgb(104, 115, 229);
/* oklch */ color: oklch(60.4% 0.171 275.9);
Tailwind
colors: {
  custom: {
    50: '#9c9bee',
    500: '#6873e5',
    950: '#000000',
  },
}
SCSS
$custom: #6873e5;
$custom-light: #9c9bee;
$custom-dark: #000000;
JSON
{
  "hex": "#6873e5",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 229
  },
  "hsl": {
    "h": 234.72,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.17052,
    "h": 275.9
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#6873E5
secondary
#E9E6BF
accent
#C213D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6873E5

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

Preview Lab → · Contrast checker → · Palette generator →

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