#6857DB#6857DB

#6857DB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.7% C 0.194 H 283.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6857DB
RGBrgb(104, 87, 219)
HSLhsl(248, 65%, 60%)
HSVhsv(248, 60%, 86%)
CMYKcmyk(52.5%, 60.3%, 0%, 14.1%)
CIE-LABlab(45.46, 41.62, -65.59)
CIE-LCHlch(45.46, 77.68, 302.39°)
OKLaboklab(54.72% 0.0463 -0.188)
OKLCHoklch(54.72% 0.194 283.8)
XYZxyz(21.8994, 14.8727, 68.7209)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857DB #CADB57
analogous
#5788DB #6857DB #AA57DB
triadic
#6857DB #DB6857 #57DB68
tetradic
#6857DB #DB5788 #CADB57 #57DBAA
square
#6857DB #DB5788 #CADB57 #57DBAA
split-complementary
#6857DB #DBAA57 #88DB57
monochromatic
#302097 #402BCA #6857DB #9589E6 #C3BCF1

Accessibility & contrast

On white

5.28
#6857DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6857DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857DB#FFFFFF#000000##FFFFFF
##6857DB1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#387691
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6857db;
/* rgb */ color: rgb(104, 87, 219);
/* oklch */ color: oklch(54.7% 0.194 283.8);
Tailwind
colors: {
  custom: {
    50: '#9c87e7',
    500: '#6857db',
    950: '#000000',
  },
}
SCSS
$custom: #6857db;
$custom-light: #9c87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6857db",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 247.727,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.54715,
    "c": 0.19364,
    "h": 283.8
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#6857DB
secondary
#DAE0AD
accent
#E840D2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6857DB

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

Preview Lab → · Contrast checker → · Palette generator →

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