#6873DB#6873DB

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

Color values

HEX#6873DB
RGBrgb(104, 115, 219)
HSLhsl(234, 61%, 63%)
HSVhsv(234, 53%, 86%)
CMYKcmyk(52.5%, 47.5%, 0%, 14.1%)
CIE-LABlab(52.19, 24.80, -54.73)
CIE-LCHlch(52.19, 60.09, 294.37°)
OKLaboklab(59.74% 0.0165 -0.1559)
OKLCHoklch(59.74% 0.157 276)
XYZxyz(24.6218, 20.3174, 69.6283)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873DB #DBD068
analogous
#68ACDB #6873DB #9668DB
triadic
#6873DB #DB6873 #73DB68
tetradic
#6873DB #DB68AC #DBD068 #68DB96
square
#6873DB #DB68AC #DBD068 #68DB96
split-complementary
#6873DB #DB9668 #ACDB68
monochromatic
#2732A2 #3745CF #6873DB #99A1E7 #CBCFF3

Accessibility & contrast

On white

4.15
#6873DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6873DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873DB#FFFFFF#000000##000000
##6873DB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#348A9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6873db;
/* rgb */ color: rgb(104, 115, 219);
/* oklch */ color: oklch(59.7% 0.157 276.0);
Tailwind
colors: {
  custom: {
    50: '#9b9be7',
    500: '#6873db',
    950: '#000000',
  },
}
SCSS
$custom: #6873db;
$custom-light: #9b9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6873db",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 234.261,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59739,
    "c": 0.15678,
    "h": 276
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#6873DB
secondary
#E4E0BB
accent
#B91CC9
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6873DB

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

Preview Lab → · Contrast checker → · Palette generator →

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