#6873DD#6873DD

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

Color values

HEX#6873DD
RGBrgb(104, 115, 221)
HSLhsl(234, 63%, 64%)
HSVhsv(234, 53%, 87%)
CMYKcmyk(52.9%, 48%, 0%, 13.3%)
CIE-LABlab(52.31, 25.42, -55.67)
CIE-LCHlch(52.31, 61.20, 294.55°)
OKLaboklab(59.87% 0.0167 -0.1587)
OKLCHoklch(59.87% 0.16 276)
XYZxyz(24.8867, 20.4234, 71.0233)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873DD #DDD268
analogous
#68ADDD #6873DD #9768DD
triadic
#6873DD #DD6873 #73DD68
tetradic
#6873DD #DD68AD #DDD268 #68DD97
square
#6873DD #DD68AD #DDD268 #68DD97
split-complementary
#6873DD #DD9768 #ADDD68
monochromatic
#2531A5 #3645D2 #6873DD #9AA1E8 #CCD0F3

Accessibility & contrast

On white

4.13
#6873DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6873DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873DD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873DD#FFFFFF#000000##000000
##6873DD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E1
Deuteranopia (green-blind)
#3378DB
Tritanopia (blue-blind)
#328A9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6873dd;
/* rgb */ color: rgb(104, 115, 221);
/* oklch */ color: oklch(59.9% 0.160 276.0);
Tailwind
colors: {
  custom: {
    50: '#9b9be8',
    500: '#6873dd',
    950: '#000000',
  },
}
SCSS
$custom: #6873dd;
$custom-light: #9b9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#6873dd",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 234.359,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.15955,
    "h": 276
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#6873DD
secondary
#E5E1BC
accent
#BA1ACB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6873DD

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

Preview Lab → · Contrast checker → · Palette generator →

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