#6857CB#6857CB

#6857CB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.173 H 285.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6857CB
RGBrgb(104, 87, 203)
HSLhsl(249, 53%, 57%)
HSVhsv(249, 57%, 80%)
CMYKcmyk(48.8%, 57.1%, 0%, 20.4%)
CIE-LABlab(44.33, 36.81, -58.25)
CIE-LCHlch(44.33, 68.90, 302.29°)
OKLaboklab(53.53% 0.0467 -0.1664)
OKLCHoklch(53.53% 0.173 285.7)
XYZxyz(19.8934, 14.0703, 58.1560)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857CB #BACB57
analogous
#5780CB #6857CB #A257CB
triadic
#6857CB #CB6857 #57CB68
tetradic
#6857CB #CB5780 #BACB57 #57CBA2
square
#6857CB #CB5780 #BACB57 #57CBA2
split-complementary
#6857CB #CBA257 #80CB57
monochromatic
#352880 #4836AF #6857CB #9286D9 #BCB4E8

Accessibility & contrast

On white

5.51
#6857CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6857CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857CB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857CB#FFFFFF#000000##FFFFFF
##6857CB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#457188
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6857cb;
/* rgb */ color: rgb(104, 87, 203);
/* oklch */ color: oklch(53.5% 0.173 285.7);
Tailwind
colors: {
  custom: {
    50: '#9a87dc',
    500: '#6857cb',
    950: '#000000',
  },
}
SCSS
$custom: #6857cb;
$custom-light: #9a87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6857cb",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 248.793,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.17286,
    "h": 285.7
  },
  "luminance": 0.14071
}

Semantic roles & 50–950 ramp

primary
#6857CB
secondary
#D0D7A7
accent
#DC4CC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6857CB

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

Preview Lab → · Contrast checker → · Palette generator →

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