#6873E1#6873E1

#6873E1 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.165 H 276.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6873E1
RGBrgb(104, 115, 225)
HSLhsl(235, 67%, 65%)
HSVhsv(235, 54%, 88%)
CMYKcmyk(53.8%, 48.9%, 0%, 11.8%)
CIE-LABlab(52.55, 26.68, -57.54)
CIE-LCHlch(52.55, 63.43, 294.88°)
OKLaboklab(60.12% 0.0171 -0.1642)
OKLCHoklch(60.12% 0.165 276)
XYZxyz(25.4259, 20.6391, 73.8635)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873E1 #E1D668
analogous
#68B0E1 #6873E1 #9968E1
triadic
#6873E1 #E16873 #73E168
tetradic
#6873E1 #E168B0 #E1D668 #68E199
square
#6873E1 #E168B0 #E1D668 #68E199
split-complementary
#6873E1 #E19968 #B0E168
monochromatic
#222FAC #3544D7 #6873E1 #9BA2EB #CED2F5

Accessibility & contrast

On white

4.10
#6873E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6873E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873E1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873E1#FFFFFF#000000##000000
##6873E11.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E5
Deuteranopia (green-blind)
#2D79DF
Tritanopia (blue-blind)
#2D8B9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6873e1;
/* rgb */ color: rgb(104, 115, 225);
/* oklch */ color: oklch(60.1% 0.165 276.0);
Tailwind
colors: {
  custom: {
    50: '#9b9beb',
    500: '#6873e1',
    950: '#000000',
  },
}
SCSS
$custom: #6873e1;
$custom-light: #9b9beb;
$custom-dark: #000000;
JSON
{
  "hex": "#6873e1",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 225
  },
  "hsl": {
    "h": 234.545,
    "s": 66.851,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60125,
    "c": 0.16505,
    "h": 276
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#6873E1
secondary
#E7E3BE
accent
#BE17CF
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6873E1

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

Preview Lab → · Contrast checker → · Palette generator →

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