#6854EB#6854EB

#6854EB is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.5% C 0.217 H 282.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6854EB
RGBrgb(104, 84, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 64%, 92%)
CMYKcmyk(55.7%, 64.3%, 0%, 7.8%)
CIE-LABlab(46.02, 48.15, -73.75)
CIE-LCHlch(46.02, 88.08, 303.14°)
OKLaboklab(55.5% 0.0478 -0.212)
OKLCHoklch(55.5% 0.217 282.7)
XYZxyz(23.8700, 15.2804, 80.2727)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854EB #D7EB54
analogous
#548BEB #6854EB #B454EB
triadic
#6854EB #EB6854 #54EB68
tetradic
#6854EB #EB548B #D7EB54 #54EBB4
square
#6854EB #EB548B #D7EB54 #54EBB4
split-complementary
#6854EB #EBB454 #8BEB54
monochromatic
#2915B0 #381DE5 #6854EB #988BF1 #C9C2F8

Accessibility & contrast

On white

5.18
#6854EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6854EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854EB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854EB#FFFFFF#000000##FFFFFF
##6854EB1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#257A98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6854eb;
/* rgb */ color: rgb(104, 84, 235);
/* oklch */ color: oklch(55.5% 0.217 282.7);
Tailwind
colors: {
  custom: {
    50: '#9f85f2',
    500: '#6854eb',
    950: '#000000',
  },
}
SCSS
$custom: #6854eb;
$custom-light: #9f85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6854eb",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 247.947,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.21736,
    "h": 282.7
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#6854EB
secondary
#E2E9B2
accent
#DB0AC0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6854EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6854EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva