#684EEB#684EEB

#684EEB is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.6% C 0.224 H 283.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#684EEB
RGBrgb(104, 78, 235)
HSLhsl(250, 80%, 61%)
HSVhsv(250, 67%, 92%)
CMYKcmyk(55.7%, 66.8%, 0%, 7.8%)
CIE-LABlab(44.79, 51.48, -75.76)
CIE-LCHlch(44.79, 91.60, 304.19°)
OKLaboklab(54.61% 0.053 -0.2179)
OKLCHoklch(54.61% 0.224 283.7)
XYZxyz(23.4241, 14.3886, 80.1241)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EEB #D1EB4E
analogous
#4E83EB #684EEB #B64EEB
triadic
#684EEB #EB684E #4EEB68
tetradic
#684EEB #EB4E83 #D1EB4E #4EEBB6
square
#684EEB #EB4E83 #D1EB4E #4EEBB6
split-complementary
#684EEB #EBB64E #83EB4E
monochromatic
#2D13AB #3B1AE2 #684EEB #9785F1 #C6BCF7

Accessibility & contrast

On white

5.42
#684EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#684EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EEB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EEB#FFFFFF#000000##FFFFFF
##684EEB1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#267696
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #684eeb;
/* rgb */ color: rgb(104, 78, 235);
/* oklch */ color: oklch(54.6% 0.224 283.7);
Tailwind
colors: {
  custom: {
    50: '#9f81f3',
    500: '#684eeb',
    950: '#000000',
  },
}
SCSS
$custom: #684eeb;
$custom-light: #9f81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#684eeb",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 249.936,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.22428,
    "h": 283.7
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#684EEB
secondary
#DEE8AD
accent
#DC09B9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684EEB

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

Preview Lab → · Contrast checker → · Palette generator →

#684EEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva