#6873DC#6873DC

#6873DC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.158 H 276.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6873DC
RGBrgb(104, 115, 220)
HSLhsl(234, 62%, 64%)
HSVhsv(234, 53%, 86%)
CMYKcmyk(52.7%, 47.7%, 0%, 13.7%)
CIE-LABlab(52.25, 25.11, -55.20)
CIE-LCHlch(52.25, 60.64, 294.46°)
OKLaboklab(59.8% 0.0166 -0.1573)
OKLCHoklch(59.8% 0.158 276)
XYZxyz(24.7538, 20.3702, 70.3237)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873DC #DCD168
analogous
#68ADDC #6873DC #9768DC
triadic
#6873DC #DC6873 #73DC68
tetradic
#6873DC #DC68AD #DCD168 #68DC97
square
#6873DC #DC68AD #DCD168 #68DC97
split-complementary
#6873DC #DC9768 #ADDC68
monochromatic
#2632A4 #3645D0 #6873DC #9AA1E8 #CBCFF3

Accessibility & contrast

On white

4.14
#6873DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6873DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873DC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873DC#FFFFFF#000000##000000
##6873DC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E0
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#338A9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6873dc;
/* rgb */ color: rgb(104, 115, 220);
/* oklch */ color: oklch(59.8% 0.158 276.0);
Tailwind
colors: {
  custom: {
    50: '#9b9be7',
    500: '#6873dc',
    950: '#000000',
  },
}
SCSS
$custom: #6873dc;
$custom-light: #9b9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6873dc",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 234.31,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.15816,
    "h": 276
  },
  "luminance": 0.20372
}

Semantic roles & 50–950 ramp

primary
#6873DC
secondary
#E4E1BB
accent
#BA1BCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6873DC

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

Preview Lab → · Contrast checker → · Palette generator →

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