#6873E4#6873E4

#6873E4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.169 H 275.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6873E4
RGBrgb(104, 115, 228)
HSLhsl(235, 70%, 65%)
HSVhsv(235, 54%, 89%)
CMYKcmyk(54.4%, 49.6%, 0%, 10.6%)
CIE-LABlab(52.73, 27.63, -58.93)
CIE-LCHlch(52.73, 65.09, 295.12°)
OKLaboklab(60.32% 0.0174 -0.1683)
OKLCHoklch(60.32% 0.169 275.9)
XYZxyz(25.8388, 20.8042, 76.0378)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873E4 #E4D968
analogous
#68B1E4 #6873E4 #9B68E4
triadic
#6873E4 #E46873 #73E468
tetradic
#6873E4 #E468B1 #E4D968 #68E49B
square
#6873E4 #E468B1 #E4D968 #68E49B
split-complementary
#6873E4 #E49B68 #B1E468
monochromatic
#202DB2 #3443DB #6873E4 #9CA3ED #D0D3F7

Accessibility & contrast

On white

4.07
#6873E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6873E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873E4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873E4#FFFFFF#000000##000000
##6873E41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E8
Deuteranopia (green-blind)
#2879E2
Tritanopia (blue-blind)
#298CA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6873e4;
/* rgb */ color: rgb(104, 115, 228);
/* oklch */ color: oklch(60.3% 0.169 275.9);
Tailwind
colors: {
  custom: {
    50: '#9c9bed',
    500: '#6873e4',
    950: '#000000',
  },
}
SCSS
$custom: #6873e4;
$custom-light: #9c9bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6873e4",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 228
  },
  "hsl": {
    "h": 234.677,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.16916,
    "h": 275.9
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#6873E4
secondary
#E9E5BF
accent
#C114D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6873E4

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

Preview Lab → · Contrast checker → · Palette generator →

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