#6858D2#6858D2

#6858D2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.2% C 0.181 H 284.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6858D2
RGBrgb(104, 88, 210)
HSLhsl(248, 58%, 58%)
HSVhsv(248, 58%, 82%)
CMYKcmyk(50.5%, 58.1%, 0%, 17.6%)
CIE-LABlab(45.05, 38.31, -61.12)
CIE-LCHlch(45.05, 72.14, 302.08°)
OKLaboklab(54.21% 0.0455 -0.1749)
OKLCHoklch(54.21% 0.181 284.6)
XYZxyz(20.8280, 14.5746, 62.6760)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858D2 #C2D258
analogous
#5885D2 #6858D2 #A558D2
triadic
#6858D2 #D26858 #58D268
tetradic
#6858D2 #D25885 #C2D258 #58D2A5
square
#6858D2 #D25885 #C2D258 #58D2A5
split-complementary
#6858D2 #D2A558 #85D258
monochromatic
#33258A #4432BB #6858D2 #9488DF #BFB8EC

Accessibility & contrast

On white

5.36
#6858D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6858D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858D2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858D2#FFFFFF#000000##FFFFFF
##6858D21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#40748C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6858d2;
/* rgb */ color: rgb(104, 88, 210);
/* oklch */ color: oklch(54.2% 0.181 284.6);
Tailwind
colors: {
  custom: {
    50: '#9b88e1',
    500: '#6858d2',
    950: '#000000',
  },
}
SCSS
$custom: #6858d2;
$custom-light: #9b88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6858d2",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 247.869,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.18071,
    "h": 284.6
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#6858D2
secondary
#D5DBAB
accent
#E147CD
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6858D2

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

Preview Lab → · Contrast checker → · Palette generator →

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