#6865CC#6865CC

#6865CC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.155 H 281.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6865CC
RGBrgb(104, 101, 204)
HSLhsl(242, 50%, 60%)
HSVhsv(242, 50%, 80%)
CMYKcmyk(49%, 50.5%, 0%, 20%)
CIE-LABlab(47.76, 28.66, -53.30)
CIE-LCHlch(47.76, 60.52, 298.27°)
OKLaboklab(56.11% 0.0309 -0.1518)
OKLCHoklch(56.11% 0.155 281.5)
XYZxyz(21.2584, 16.6089, 59.2007)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6865CC #C9CC65
analogous
#6595CC #6865CC #9C65CC
triadic
#6865CC #CC6865 #65CC68
tetradic
#6865CC #CC6595 #C9CC65 #65CC9C
square
#6865CC #CC6595 #C9CC65 #65CC9C
split-complementary
#6865CC #CC9C65 #95CC65
monochromatic
#302D89 #403DB7 #6865CC #9593DB #C2C1EA

Accessibility & contrast

On white

4.86
#6865CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6865CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6865CC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6865CC#FFFFFF#000000##FFFFFF
##6865CC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#437B8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6865cc;
/* rgb */ color: rgb(104, 101, 204);
/* oklch */ color: oklch(56.1% 0.155 281.5);
Tailwind
colors: {
  custom: {
    50: '#9991dc',
    500: '#6865cc',
    950: '#000000',
  },
}
SCSS
$custom: #6865cc;
$custom-light: #9991dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6865cc",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 241.748,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.15491,
    "h": 281.5
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#6865CC
secondary
#D9DAB2
accent
#DA4ED6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6865CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6865CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva