#6858CF#6858CF

#6858CF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.177 H 284.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6858CF
RGBrgb(104, 88, 207)
HSLhsl(248, 55%, 58%)
HSVhsv(248, 57%, 81%)
CMYKcmyk(49.8%, 57.5%, 0%, 18.8%)
CIE-LABlab(44.84, 37.41, -59.73)
CIE-LCHlch(44.84, 70.48, 302.06°)
OKLaboklab(53.99% 0.0456 -0.1708)
OKLCHoklch(53.99% 0.177 284.9)
XYZxyz(20.4578, 14.4265, 60.7260)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858CF #BFCF58
analogous
#5884CF #6858CF #A358CF
triadic
#6858CF #CF6858 #58CF68
tetradic
#6858CF #CF5884 #BFCF58 #58CFA3
square
#6858CF #CF5884 #BFCF58 #58CFA3
split-complementary
#6858CF #CFA358 #84CF58
monochromatic
#332786 #4634B6 #6858CF #9388DD #BEB7EA

Accessibility & contrast

On white

5.40
#6858CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6858CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858CF#FFFFFF#000000##FFFFFF
##6858CF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#42738B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6858cf;
/* rgb */ color: rgb(104, 88, 207);
/* oklch */ color: oklch(54.0% 0.177 284.9);
Tailwind
colors: {
  custom: {
    50: '#9b88de',
    500: '#6858cf',
    950: '#000000',
  },
}
SCSS
$custom: #6858cf;
$custom-light: #9b88de;
$custom-dark: #000000;
JSON
{
  "hex": "#6858cf",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 248.067,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.17677,
    "h": 284.9
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#6858CF
secondary
#D3D9AA
accent
#DF49CB
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6858CF

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

Preview Lab → · Contrast checker → · Palette generator →

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