#6856DB#6856DB

#6856DB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.6% C 0.195 H 284.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6856DB
RGBrgb(104, 86, 219)
HSLhsl(248, 65%, 60%)
HSVhsv(248, 61%, 86%)
CMYKcmyk(52.5%, 60.7%, 0%, 14.1%)
CIE-LABlab(45.24, 42.20, -65.95)
CIE-LCHlch(45.24, 78.30, 302.61°)
OKLaboklab(54.55% 0.0473 -0.1891)
OKLCHoklch(54.55% 0.195 284)
XYZxyz(21.8190, 14.7119, 68.6941)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856DB #C9DB56
analogous
#5687DB #6856DB #AA56DB
triadic
#6856DB #DB6856 #56DB68
tetradic
#6856DB #DB5687 #C9DB56 #56DBAA
square
#6856DB #DB5687 #C9DB56 #56DBAA
split-complementary
#6856DB #DBAA56 #87DB56
monochromatic
#302097 #402BC9 #6856DB #9588E6 #C2BBF0

Accessibility & contrast

On white

5.33
#6856DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6856DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856DB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856DB#FFFFFF#000000##FFFFFF
##6856DB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#387690
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6856db;
/* rgb */ color: rgb(104, 86, 219);
/* oklch */ color: oklch(54.6% 0.195 284.0);
Tailwind
colors: {
  custom: {
    50: '#9c86e7',
    500: '#6856db',
    950: '#000000',
  },
}
SCSS
$custom: #6856db;
$custom-light: #9c86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6856db",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 248.12,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.19491,
    "h": 284
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

primary
#6856DB
secondary
#D9E0AD
accent
#E840D1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6856DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6856DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva