#6858CC#6858CC

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

Color values

HEX#6858CC
RGBrgb(104, 88, 204)
HSLhsl(248, 53%, 57%)
HSVhsv(248, 57%, 80%)
CMYKcmyk(49%, 56.9%, 0%, 20%)
CIE-LABlab(44.63, 36.51, -58.34)
CIE-LCHlch(44.63, 68.82, 302.04°)
OKLaboklab(53.77% 0.0456 -0.1667)
OKLCHoklch(53.77% 0.173 285.3)
XYZxyz(20.0945, 14.2812, 58.8128)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858CC #BCCC58
analogous
#5882CC #6858CC #A258CC
triadic
#6858CC #CC6858 #58CC68
tetradic
#6858CC #CC5882 #BCCC58 #58CCA2
square
#6858CC #CC5882 #BCCC58 #58CCA2
split-complementary
#6858CC #CCA258 #82CC58
monochromatic
#342882 #4736B1 #6858CC #9287DA #BDB6E9

Accessibility & contrast

On white

5.45
#6858CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6858CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858CC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858CC#FFFFFF#000000##FFFFFF
##6858CC1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#447289
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6858cc;
/* rgb */ color: rgb(104, 88, 204);
/* oklch */ color: oklch(53.8% 0.173 285.3);
Tailwind
colors: {
  custom: {
    50: '#9a87dc',
    500: '#6858cc',
    950: '#000000',
  },
}
SCSS
$custom: #6858cc;
$custom-light: #9a87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6858cc",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 248.276,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.17282,
    "h": 285.3
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#6858CC
secondary
#D1D7A8
accent
#DD4BC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6858CC

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

Preview Lab → · Contrast checker → · Palette generator →

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