#6857DD#6857DD

#6857DD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.9% C 0.196 H 283.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6857DD
RGBrgb(104, 87, 221)
HSLhsl(248, 66%, 60%)
HSVhsv(248, 61%, 87%)
CMYKcmyk(52.9%, 60.6%, 0%, 13.3%)
CIE-LABlab(45.60, 42.22, -66.49)
CIE-LCHlch(45.60, 78.76, 302.41°)
OKLaboklab(54.87% 0.0461 -0.1907)
OKLCHoklch(54.87% 0.196 283.6)
XYZxyz(22.1643, 14.9787, 70.1159)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857DD #CCDD57
analogous
#5789DD #6857DD #AB57DD
triadic
#6857DD #DD6857 #57DD68
tetradic
#6857DD #DD5789 #CCDD57 #57DDAB
square
#6857DD #DD5789 #CCDD57 #57DDAB
split-complementary
#6857DD #DDAB57 #89DD57
monochromatic
#2F1F9A #3E2ACD #6857DD #968AE7 #C3BDF2

Accessibility & contrast

On white

5.26
#6857DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6857DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857DD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857DD#FFFFFF#000000##FFFFFF
##6857DD1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#367792
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6857dd;
/* rgb */ color: rgb(104, 87, 221);
/* oklch */ color: oklch(54.9% 0.196 283.6);
Tailwind
colors: {
  custom: {
    50: '#9c87e8',
    500: '#6857dd',
    950: '#000000',
  },
}
SCSS
$custom: #6857dd;
$custom-light: #9c87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6857dd",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 247.612,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.1962,
    "h": 283.6
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#6857DD
secondary
#DBE1AE
accent
#CE17B7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6857DD

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

Preview Lab → · Contrast checker → · Palette generator →

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