#6874E7#6874E7

#6874E7 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.7% C 0.172 H 275.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6874E7
RGBrgb(104, 116, 231)
HSLhsl(234, 73%, 66%)
HSVhsv(234, 55%, 91%)
CMYKcmyk(55%, 49.8%, 0%, 9.4%)
CIE-LABlab(53.17, 27.98, -59.92)
CIE-LCHlch(53.17, 66.13, 295.03°)
OKLaboklab(60.71% 0.0166 -0.1711)
OKLCHoklch(60.71% 0.172 275.6)
XYZxyz(26.3735, 21.2015, 78.2884)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874E7 #E7DB68
analogous
#68B3E7 #6874E7 #9B68E7
triadic
#6874E7 #E76874 #74E768
tetradic
#6874E7 #E768B3 #E7DB68 #68E79B
square
#6874E7 #E768B3 #E7DB68 #68E79B
split-complementary
#6874E7 #E79B68 #B3E768
monochromatic
#1D2CB7 #3343DF #6874E7 #9DA5EF #D2D5F8

Accessibility & contrast

On white

4.01
#6874E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6874E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874E7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874E7#FFFFFF#000000##000000
##6874E71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984EB
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#248EA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6874e7;
/* rgb */ color: rgb(104, 116, 231);
/* oklch */ color: oklch(60.7% 0.172 275.6);
Tailwind
colors: {
  custom: {
    50: '#9c9bef',
    500: '#6874e7',
    950: '#000000',
  },
}
SCSS
$custom: #6874e7;
$custom-light: #9c9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6874e7",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 234.331,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.17195,
    "h": 275.6
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#6874E7
secondary
#EBE7C0
accent
#C211D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6874E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6874E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva