#6874EA#6874EA

#6874EA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.176 H 275.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6874EA
RGBrgb(104, 116, 234)
HSLhsl(234, 76%, 66%)
HSVhsv(234, 56%, 92%)
CMYKcmyk(55.6%, 50.4%, 0%, 8.2%)
CIE-LABlab(53.35, 28.93, -61.30)
CIE-LCHlch(53.35, 67.78, 295.27°)
OKLaboklab(60.91% 0.0169 -0.1752)
OKLCHoklch(60.91% 0.176 275.5)
XYZxyz(26.8008, 21.3725, 80.5390)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874EA #EADE68
analogous
#68B5EA #6874EA #9D68EA
triadic
#6874EA #EA6874 #74EA68
tetradic
#6874EA #EA68B5 #EADE68 #68EA9D
square
#6874EA #EA68B5 #EADE68 #68EA9D
split-complementary
#6874EA #EA9D68 #B5EA68
monochromatic
#1A29BD #3243E3 #6874EA #9EA5F1 #D3D7F9

Accessibility & contrast

On white

3.98
#6874EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6874EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874EA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874EA#FFFFFF#000000##000000
##6874EA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#1F7AE8
Tritanopia (blue-blind)
#1E8FA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6874ea;
/* rgb */ color: rgb(104, 116, 234);
/* oklch */ color: oklch(60.9% 0.176 275.5);
Tailwind
colors: {
  custom: {
    50: '#9d9bf1',
    500: '#6874ea',
    950: '#000000',
  },
}
SCSS
$custom: #6874ea;
$custom-light: #9d9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6874ea",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 234.462,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.17602,
    "h": 275.5
  },
  "luminance": 0.21374
}

Semantic roles & 50–950 ramp

primary
#6874EA
secondary
#ECE8C2
accent
#C50ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6874EA

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

Preview Lab → · Contrast checker → · Palette generator →

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