#6858D8#6858D8

#6858D8 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.7% C 0.189 H 283.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6858D8
RGBrgb(104, 88, 216)
HSLhsl(248, 62%, 60%)
HSVhsv(248, 59%, 85%)
CMYKcmyk(51.9%, 59.3%, 0%, 15.3%)
CIE-LABlab(45.47, 40.12, -63.87)
CIE-LCHlch(45.47, 75.43, 302.14°)
OKLaboklab(54.65% 0.0454 -0.183)
OKLCHoklch(54.65% 0.189 283.9)
XYZxyz(21.5896, 14.8792, 66.6868)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858D8 #C8D858
analogous
#5888D8 #6858D8 #A858D8
triadic
#6858D8 #D86858 #58D868
tetradic
#6858D8 #D85888 #C8D858 #58D8A8
square
#6858D8 #D85888 #C8D858 #58D8A8
split-complementary
#6858D8 #D8A858 #88D858
monochromatic
#302293 #412EC5 #6858D8 #958AE4 #C2BBEF

Accessibility & contrast

On white

5.28
#6858D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6858D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858D8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858D8#FFFFFF#000000##FFFFFF
##6858D81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#3B7690
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6858d8;
/* rgb */ color: rgb(104, 88, 216);
/* oklch */ color: oklch(54.7% 0.189 283.9);
Tailwind
colors: {
  custom: {
    50: '#9c88e5',
    500: '#6858d8',
    950: '#000000',
  },
}
SCSS
$custom: #6858d8;
$custom-light: #9c88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6858d8",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 247.5,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54654,
    "c": 0.1885,
    "h": 283.9
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#6858D8
secondary
#D9DFAD
accent
#E543D1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6858D8

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

Preview Lab → · Contrast checker → · Palette generator →

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