#6858D7#6858D7

#6858D7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.187 H 284.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6858D7
RGBrgb(104, 88, 215)
HSLhsl(248, 61%, 59%)
HSVhsv(248, 59%, 84%)
CMYKcmyk(51.6%, 59.1%, 0%, 15.7%)
CIE-LABlab(45.40, 39.82, -63.41)
CIE-LCHlch(45.40, 74.88, 302.13°)
OKLaboklab(54.58% 0.0454 -0.1816)
OKLCHoklch(54.58% 0.187 284)
XYZxyz(21.4607, 14.8276, 66.0080)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858D7 #C7D758
analogous
#5888D7 #6858D7 #A858D7
triadic
#6858D7 #D76858 #58D768
tetradic
#6858D7 #D75888 #C7D758 #58D7A8
square
#6858D7 #D75888 #C7D758 #58D7A8
split-complementary
#6858D7 #D7A858 #88D758
monochromatic
#312392 #412FC3 #6858D7 #9589E3 #C1BBEF

Accessibility & contrast

On white

5.30
#6858D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6858D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858D7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858D7#FFFFFF#000000##FFFFFF
##6858D71.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#3C768F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6858d7;
/* rgb */ color: rgb(104, 88, 215);
/* oklch */ color: oklch(54.6% 0.187 284.0);
Tailwind
colors: {
  custom: {
    50: '#9c88e4',
    500: '#6858d7',
    950: '#000000',
  },
}
SCSS
$custom: #6858d7;
$custom-light: #9c88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6858d7",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 247.559,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.18721,
    "h": 284
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#6858D7
secondary
#D8DEAD
accent
#E443D0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6858D7

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

Preview Lab → · Contrast checker → · Palette generator →

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