#6873EE#6873EE

#6873EE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.0% C 0.183 H 275.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6873EE
RGBrgb(104, 115, 238)
HSLhsl(235, 80%, 67%)
HSVhsv(235, 56%, 93%)
CMYKcmyk(56.3%, 51.7%, 0%, 6.7%)
CIE-LABlab(53.36, 30.81, -63.53)
CIE-LCHlch(53.36, 70.60, 295.87°)
OKLaboklab(60.99% 0.0182 -0.1818)
OKLCHoklch(60.99% 0.183 275.7)
XYZxyz(27.2673, 21.3756, 83.5614)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873EE #EEE368
analogous
#68B6EE #6873EE #A068EE
triadic
#6873EE #EE6873 #73EE68
tetradic
#6873EE #EE68B6 #EEE368 #68EEA0
square
#6873EE #EE68B6 #EEE368 #68EEA0
split-complementary
#6873EE #EEA068 #B6EE68
monochromatic
#1625C5 #3140E8 #6873EE #9FA6F4 #D6D9FA

Accessibility & contrast

On white

3.98
#6873EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6873EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873EE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873EE#FFFFFF#000000##000000
##6873EE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F2
Deuteranopia (green-blind)
#0B7AEB
Tritanopia (blue-blind)
#168FA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6873ee;
/* rgb */ color: rgb(104, 115, 238);
/* oklch */ color: oklch(61.0% 0.183 275.7);
Tailwind
colors: {
  custom: {
    50: '#9d9bf4',
    500: '#6873ee',
    950: '#000000',
  },
}
SCSS
$custom: #6873ee;
$custom-light: #9d9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6873ee",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 235.075,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60991,
    "c": 0.18268,
    "h": 275.7
  },
  "luminance": 0.21378
}

Semantic roles & 50–950 ramp

primary
#6873EE
secondary
#EEEBC4
accent
#CB09DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6873EE

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

Preview Lab → · Contrast checker → · Palette generator →

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