#6857CF#6857CF

#6857CF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.8% C 0.178 H 285.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6857CF
RGBrgb(104, 87, 207)
HSLhsl(249, 56%, 58%)
HSVhsv(249, 58%, 81%)
CMYKcmyk(49.8%, 58%, 0%, 18.8%)
CIE-LABlab(44.61, 38.01, -60.11)
CIE-LCHlch(44.61, 71.11, 302.31°)
OKLaboklab(53.82% 0.0466 -0.1719)
OKLCHoklch(53.82% 0.178 285.2)
XYZxyz(20.3763, 14.2634, 60.6988)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857CF #BECF57
analogous
#5782CF #6857CF #A457CF
triadic
#6857CF #CF6857 #57CF68
tetradic
#6857CF #CF5782 #BECF57 #57CFA4
square
#6857CF #CF5782 #BECF57 #57CFA4
split-complementary
#6857CF #CFA457 #82CF57
monochromatic
#342685 #4634B5 #6857CF #9387DD #BEB6EA

Accessibility & contrast

On white

5.45
#6857CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6857CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857CF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857CF#FFFFFF#000000##FFFFFF
##6857CF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#42738B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6857cf;
/* rgb */ color: rgb(104, 87, 207);
/* oklch */ color: oklch(53.8% 0.178 285.2);
Tailwind
colors: {
  custom: {
    50: '#9b87de',
    500: '#6857cf',
    950: '#000000',
  },
}
SCSS
$custom: #6857cf;
$custom-light: #9b87de;
$custom-dark: #000000;
JSON
{
  "hex": "#6857cf",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 248.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.17811,
    "h": 285.2
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#6857CF
secondary
#D2D9A9
accent
#DF49CA
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6857CF

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

Preview Lab → · Contrast checker → · Palette generator →

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