#6873EF#6873EF

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

Color values

HEX#6873EF
RGBrgb(104, 115, 239)
HSLhsl(235, 81%, 67%)
HSVhsv(235, 56%, 94%)
CMYKcmyk(56.5%, 51.9%, 0%, 6.3%)
CIE-LABlab(53.42, 31.13, -63.98)
CIE-LCHlch(53.42, 71.15, 295.94°)
OKLaboklab(61.06% 0.0183 -0.1831)
OKLCHoklch(61.06% 0.184 275.7)
XYZxyz(27.4146, 21.4346, 84.3373)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6873EF #EFE468
analogous
#68B7EF #6873EF #A168EF
triadic
#6873EF #EF6873 #73EF68
tetradic
#6873EF #EF68B7 #EFE468 #68EFA1
square
#6873EF #EF68B7 #EFE468 #68EFA1
split-complementary
#6873EF #EFA168 #B7EF68
monochromatic
#1524C7 #3140E9 #6873EF #9FA6F5 #D7DAFB

Accessibility & contrast

On white

3.97
#6873EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6873EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6873EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6873EF#FFFFFF#000000##000000
##6873EF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F3
Deuteranopia (green-blind)
#057AEC
Tritanopia (blue-blind)
#138FA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6873ef;
/* rgb */ color: rgb(104, 115, 239);
/* oklch */ color: oklch(61.1% 0.184 275.7);
Tailwind
colors: {
  custom: {
    50: '#9d9bf5',
    500: '#6873ef',
    950: '#000000',
  },
}
SCSS
$custom: #6873ef;
$custom-light: #9d9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6873ef",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 235.111,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.18402,
    "h": 275.7
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

primary
#6873EF
secondary
#EFEBC4
accent
#CC08DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6873EF

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

Preview Lab → · Contrast checker → · Palette generator →

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