#6855EB#6855EB

#6855EB is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.7% C 0.216 H 282.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6855EB
RGBrgb(104, 85, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 64%, 92%)
CMYKcmyk(55.7%, 63.8%, 0%, 7.8%)
CIE-LABlab(46.23, 47.58, -73.41)
CIE-LCHlch(46.23, 87.48, 302.95°)
OKLaboklab(55.65% 0.047 -0.211)
OKLCHoklch(55.65% 0.216 282.5)
XYZxyz(23.9482, 15.4367, 80.2988)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6855EB #D8EB55
analogous
#558DEB #6855EB #B355EB
triadic
#6855EB #EB6855 #55EB68
tetradic
#6855EB #EB558D #D8EB55 #55EBB3
square
#6855EB #EB558D #D8EB55 #55EBB3
split-complementary
#6855EB #EBB355 #8DEB55
monochromatic
#2915B1 #371EE5 #6855EB #998CF1 #C9C3F8

Accessibility & contrast

On white

5.14
#6855EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6855EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6855EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6855EB#FFFFFF#000000##FFFFFF
##6855EB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.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: #6855eb;
/* rgb */ color: rgb(104, 85, 235);
/* oklch */ color: oklch(55.7% 0.216 282.5);
Tailwind
colors: {
  custom: {
    50: '#9f86f2',
    500: '#6855eb',
    950: '#000000',
  },
}
SCSS
$custom: #6855eb;
$custom-light: #9f86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6855eb",
  "rgb": {
    "r": 104,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 247.6,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55651,
    "c": 0.21618,
    "h": 282.5
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#6855EB
secondary
#E2E9B3
accent
#DB0AC1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6855EB

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

Preview Lab → · Contrast checker → · Palette generator →

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