#6858CD#6858CD

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

Color values

HEX#6858CD
RGBrgb(104, 88, 205)
HSLhsl(248, 54%, 57%)
HSVhsv(248, 57%, 80%)
CMYKcmyk(49.3%, 57.1%, 0%, 19.6%)
CIE-LABlab(44.70, 36.81, -58.80)
CIE-LCHlch(44.70, 69.38, 302.05°)
OKLaboklab(53.85% 0.0456 -0.1681)
OKLCHoklch(53.85% 0.174 285.2)
XYZxyz(20.2148, 14.3293, 59.4464)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858CD #BDCD58
analogous
#5883CD #6858CD #A258CD
triadic
#6858CD #CD6858 #58CD68
tetradic
#6858CD #CD5883 #BDCD58 #58CDA2
square
#6858CD #CD5883 #BDCD58 #58CDA2
split-complementary
#6858CD #CDA258 #83CD58
monochromatic
#342783 #4735B2 #6858CD #9387DB #BDB6E9

Accessibility & contrast

On white

5.43
#6858CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6858CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858CD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858CD#FFFFFF#000000##FFFFFF
##6858CD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#44738A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6858cd;
/* rgb */ color: rgb(104, 88, 205);
/* oklch */ color: oklch(53.8% 0.174 285.2);
Tailwind
colors: {
  custom: {
    50: '#9a87dd',
    500: '#6858cd',
    950: '#000000',
  },
}
SCSS
$custom: #6858cd;
$custom-light: #9a87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6858cd",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 248.205,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.17414,
    "h": 285.2
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6858CD

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

Preview Lab → · Contrast checker → · Palette generator →

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