#6857CD#6857CD

#6857CD is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.175 H 285.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6857CD
RGBrgb(104, 87, 205)
HSLhsl(249, 54%, 57%)
HSVhsv(249, 58%, 80%)
CMYKcmyk(49.3%, 57.6%, 0%, 19.6%)
CIE-LABlab(44.47, 37.41, -59.18)
CIE-LCHlch(44.47, 70.01, 302.30°)
OKLaboklab(53.68% 0.0467 -0.1692)
OKLCHoklch(53.68% 0.175 285.4)
XYZxyz(20.1333, 14.1663, 59.4193)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857CD #BCCD57
analogous
#5781CD #6857CD #A357CD
triadic
#6857CD #CD6857 #57CD68
tetradic
#6857CD #CD5781 #BCCD57 #57CDA3
square
#6857CD #CD5781 #BCCD57 #57CDA3
split-complementary
#6857CD #CDA357 #81CD57
monochromatic
#342783 #4735B2 #6857CD #9286DB #BDB5E9

Accessibility & contrast

On white

5.48
#6857CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6857CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857CD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857CD#FFFFFF#000000##FFFFFF
##6857CD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#447289
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6857cd;
/* rgb */ color: rgb(104, 87, 205);
/* oklch */ color: oklch(53.7% 0.175 285.4);
Tailwind
colors: {
  custom: {
    50: '#9a87dd',
    500: '#6857cd',
    950: '#000000',
  },
}
SCSS
$custom: #6857cd;
$custom-light: #9a87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6857cd",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 248.644,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.17549,
    "h": 285.4
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#6857CD
secondary
#D1D8A8
accent
#DD4AC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6857CD

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

Preview Lab → · Contrast checker → · Palette generator →

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