#6873DA#6873DA

#6873DA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.155 H 276.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6873DA
RGBrgb(104, 115, 218)
HSLhsl(234, 61%, 63%)
HSVhsv(234, 52%, 85%)
CMYKcmyk(52.3%, 47.2%, 0%, 14.5%)
CIE-LABlab(52.14, 24.48, -54.26)
CIE-LCHlch(52.14, 59.53, 294.28°)
OKLaboklab(59.68% 0.0164 -0.1545)
OKLCHoklch(59.68% 0.155 276)
XYZxyz(24.4905, 20.2649, 68.9371)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873DA #DACF68
analogous
#68ACDA #6873DA #9668DA
triadic
#6873DA #DA6873 #73DA68
tetradic
#6873DA #DA68AC #DACF68 #68DA96
square
#6873DA #DA68AC #DACF68 #68DA96
split-complementary
#6873DA #DA9668 #ACDA68
monochromatic
#2733A0 #3745CE #6873DA #99A1E6 #CACEF2

Accessibility & contrast

On white

4.16
#6873DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6873DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873DA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873DA#FFFFFF#000000##000000
##6873DA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DE
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#358A9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6873da;
/* rgb */ color: rgb(104, 115, 218);
/* oklch */ color: oklch(59.7% 0.155 276.0);
Tailwind
colors: {
  custom: {
    50: '#9b9be6',
    500: '#6873da',
    950: '#000000',
  },
}
SCSS
$custom: #6873da;
$custom-light: #9b9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#6873da",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 234.211,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.15539,
    "h": 276
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#6873DA
secondary
#E3DFBA
accent
#B81DC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6873DA

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

Preview Lab → · Contrast checker → · Palette generator →

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