#6858EC#6858EC

#6858EC is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.2% C 0.214 H 281.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6858EC
RGBrgb(104, 88, 236)
HSLhsl(246, 80%, 64%)
HSVhsv(246, 63%, 93%)
CMYKcmyk(55.9%, 62.7%, 0%, 7.5%)
CIE-LABlab(46.94, 46.18, -72.80)
CIE-LCHlch(46.94, 86.21, 302.39°)
OKLaboklab(56.2% 0.0442 -0.2092)
OKLCHoklch(56.2% 0.214 281.9)
XYZxyz(24.3343, 15.9771, 81.1422)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858EC #DCEC58
analogous
#5892EC #6858EC #B258EC
triadic
#6858EC #EC6858 #58EC68
tetradic
#6858EC #EC5892 #DCEC58 #58ECB2
square
#6858EC #EC5892 #DCEC58 #58ECB2
split-complementary
#6858EC #ECB258 #92EC58
monochromatic
#2615B5 #3621E6 #6858EC #9A8FF2 #CBC6F9

Accessibility & contrast

On white

5.01
#6858EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6858EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858EC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858EC#FFFFFF#000000##FFFFFF
##6858EC1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#227D9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6858ec;
/* rgb */ color: rgb(104, 88, 236);
/* oklch */ color: oklch(56.2% 0.214 281.9);
Tailwind
colors: {
  custom: {
    50: '#9f88f3',
    500: '#6858ec',
    950: '#000000',
  },
}
SCSS
$custom: #6858ec;
$custom-light: #9f88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6858ec",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 246.486,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56197,
    "c": 0.21384,
    "h": 281.9
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#6858EC
secondary
#E4EAB6
accent
#DC0AC5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6858EC

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

Preview Lab → · Contrast checker → · Palette generator →

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