#6873E2#6873E2

#6873E2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.166 H 275.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6873E2
RGBrgb(104, 115, 226)
HSLhsl(235, 68%, 65%)
HSVhsv(235, 54%, 89%)
CMYKcmyk(54%, 49.1%, 0%, 11.4%)
CIE-LABlab(52.61, 27.00, -58.00)
CIE-LCHlch(52.61, 63.98, 294.96°)
OKLaboklab(60.19% 0.0172 -0.1655)
OKLCHoklch(60.19% 0.166 275.9)
XYZxyz(25.5627, 20.6938, 74.5840)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873E2 #E2D768
analogous
#68B0E2 #6873E2 #9A68E2
triadic
#6873E2 #E26873 #73E268
tetradic
#6873E2 #E268B0 #E2D768 #68E29A
square
#6873E2 #E268B0 #E2D768 #68E29A
split-complementary
#6873E2 #E29A68 #B0E268
monochromatic
#212EAE #3543D8 #6873E2 #9BA3EC #CFD2F6

Accessibility & contrast

On white

4.09
#6873E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6873E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873E2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873E2#FFFFFF#000000##000000
##6873E21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E6
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#2C8CA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6873e2;
/* rgb */ color: rgb(104, 115, 226);
/* oklch */ color: oklch(60.2% 0.166 275.9);
Tailwind
colors: {
  custom: {
    50: '#9c9bec',
    500: '#6873e2',
    950: '#000000',
  },
}
SCSS
$custom: #6873e2;
$custom-light: #9c9bec;
$custom-dark: #000000;
JSON
{
  "hex": "#6873e2",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 234.59,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6019,
    "c": 0.16642,
    "h": 275.9
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#6873E2
secondary
#E8E4BE
accent
#BF16D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6873E2

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

Preview Lab → · Contrast checker → · Palette generator →

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