#6874E8#6874E8

#6874E8 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.173 H 275.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6874E8
RGBrgb(104, 116, 232)
HSLhsl(234, 74%, 66%)
HSVhsv(234, 55%, 91%)
CMYKcmyk(55.2%, 50%, 0%, 9%)
CIE-LABlab(53.23, 28.30, -60.38)
CIE-LCHlch(53.23, 66.68, 295.11°)
OKLaboklab(60.78% 0.0167 -0.1725)
OKLCHoklch(60.78% 0.173 275.5)
XYZxyz(26.5151, 21.2582, 79.0343)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874E8 #E8DC68
analogous
#68B4E8 #6874E8 #9C68E8
triadic
#6874E8 #E86874 #74E868
tetradic
#6874E8 #E868B4 #E8DC68 #68E89C
square
#6874E8 #E868B4 #E8DC68 #68E89C
split-complementary
#6874E8 #E89C68 #B4E868
monochromatic
#1C2BB9 #3343E0 #6874E8 #9DA5F0 #D2D6F8

Accessibility & contrast

On white

4.00
#6874E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6874E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874E8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874E8#FFFFFF#000000##000000
##6874E81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#237AE6
Tritanopia (blue-blind)
#228EA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6874e8;
/* rgb */ color: rgb(104, 116, 232);
/* oklch */ color: oklch(60.8% 0.173 275.5);
Tailwind
colors: {
  custom: {
    50: '#9c9bf0',
    500: '#6874e8',
    950: '#000000',
  },
}
SCSS
$custom: #6874e8;
$custom-light: #9c9bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6874e8",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 234.375,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.17331,
    "h": 275.5
  },
  "luminance": 0.2126
}

Semantic roles & 50–950 ramp

primary
#6874E8
secondary
#EBE7C1
accent
#C310D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6874E8

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

Preview Lab → · Contrast checker → · Palette generator →

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