#6874EE#6874EE

#6874EE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.2% C 0.181 H 275.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6874EE
RGBrgb(104, 116, 238)
HSLhsl(235, 80%, 67%)
HSVhsv(235, 56%, 93%)
CMYKcmyk(56.3%, 51.3%, 0%, 6.7%)
CIE-LABlab(53.61, 30.20, -63.13)
CIE-LCHlch(53.61, 69.98, 295.57°)
OKLaboklab(61.18% 0.0172 -0.1806)
OKLCHoklch(61.18% 0.181 275.4)
XYZxyz(27.3819, 21.6049, 83.5996)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874EE #EEE268
analogous
#68B7EE #6874EE #9F68EE
triadic
#6874EE #EE6874 #74EE68
tetradic
#6874EE #EE68B7 #EEE268 #68EE9F
square
#6874EE #EE68B7 #EEE268 #68EE9F
split-complementary
#6874EE #EE9F68 #B7EE68
monochromatic
#1626C5 #3141E8 #6874EE #9FA7F4 #D6D9FA

Accessibility & contrast

On white

3.95
#6874EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6874EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874EE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874EE#FFFFFF#000000##000000
##6874EE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F2
Deuteranopia (green-blind)
#127BEB
Tritanopia (blue-blind)
#1590A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6874ee;
/* rgb */ color: rgb(104, 116, 238);
/* oklch */ color: oklch(61.2% 0.181 275.4);
Tailwind
colors: {
  custom: {
    50: '#9d9bf4',
    500: '#6874ee',
    950: '#000000',
  },
}
SCSS
$custom: #6874ee;
$custom-light: #9d9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6874ee",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 234.627,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61177,
    "c": 0.18141,
    "h": 275.4
  },
  "luminance": 0.21607
}

Semantic roles & 50–950 ramp

primary
#6874EE
secondary
#EEEAC4
accent
#C909DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6874EE

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

Preview Lab → · Contrast checker → · Palette generator →

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