#6873EA#6873EA

#6873EA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.177 H 275.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6873EA
RGBrgb(104, 115, 234)
HSLhsl(235, 76%, 66%)
HSVhsv(235, 56%, 92%)
CMYKcmyk(55.6%, 50.9%, 0%, 8.2%)
CIE-LABlab(53.11, 29.54, -61.70)
CIE-LCHlch(53.11, 68.40, 295.58°)
OKLaboklab(60.72% 0.0179 -0.1764)
OKLCHoklch(60.72% 0.177 275.8)
XYZxyz(26.6862, 21.1432, 80.5008)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873EA #EADF68
analogous
#68B4EA #6873EA #9E68EA
triadic
#6873EA #EA6873 #73EA68
tetradic
#6873EA #EA68B4 #EADF68 #68EA9E
square
#6873EA #EA68B4 #EADF68 #68EA9E
split-complementary
#6873EA #EA9E68 #B4EA68
monochromatic
#1A28BD #3241E3 #6873EA #9EA5F1 #D3D7F9

Accessibility & contrast

On white

4.02
#6873EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6873EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873EA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873EA#FFFFFF#000000##000000
##6873EA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384EE
Deuteranopia (green-blind)
#1B7AE7
Tritanopia (blue-blind)
#1F8EA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6873ea;
/* rgb */ color: rgb(104, 115, 234);
/* oklch */ color: oklch(60.7% 0.177 275.8);
Tailwind
colors: {
  custom: {
    50: '#9d9bf1',
    500: '#6873ea',
    950: '#000000',
  },
}
SCSS
$custom: #6873ea;
$custom-light: #9d9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6873ea",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 234.923,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.1773,
    "h": 275.8
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#6873EA
secondary
#ECE9C2
accent
#C70ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6873EA

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

Preview Lab → · Contrast checker → · Palette generator →

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