#6858D4#6858D4

#6858D4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.183 H 284.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6858D4
RGBrgb(104, 88, 212)
HSLhsl(248, 59%, 59%)
HSVhsv(248, 58%, 83%)
CMYKcmyk(50.9%, 58.5%, 0%, 16.9%)
CIE-LABlab(45.19, 38.92, -62.04)
CIE-LCHlch(45.19, 73.23, 302.10°)
OKLaboklab(54.36% 0.0455 -0.1776)
OKLCHoklch(54.36% 0.183 284.4)
XYZxyz(21.0787, 14.6749, 63.9964)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858D4 #C4D458
analogous
#5886D4 #6858D4 #A658D4
triadic
#6858D4 #D46858 #58D468
tetradic
#6858D4 #D45886 #C4D458 #58D4A6
square
#6858D4 #D45886 #C4D458 #58D4A6
split-complementary
#6858D4 #D4A658 #86D458
monochromatic
#32248D #4331BE #6858D4 #9489E1 #C0B9ED

Accessibility & contrast

On white

5.34
#6858D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6858D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858D4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858D4#FFFFFF#000000##FFFFFF
##6858D41.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#3E758D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6858d4;
/* rgb */ color: rgb(104, 88, 212);
/* oklch */ color: oklch(54.4% 0.183 284.4);
Tailwind
colors: {
  custom: {
    50: '#9b88e2',
    500: '#6858d4',
    950: '#000000',
  },
}
SCSS
$custom: #6858d4;
$custom-light: #9b88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6858d4",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 247.742,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.18331,
    "h": 284.4
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#6858D4
secondary
#D6DCAB
accent
#E246CE
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6858D4

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

Preview Lab → · Contrast checker → · Palette generator →

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