#6865CD#6865CD

#6865CD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.156 H 281.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6865CD
RGBrgb(104, 101, 205)
HSLhsl(242, 51%, 60%)
HSVhsv(242, 51%, 80%)
CMYKcmyk(49.3%, 50.7%, 0%, 19.6%)
CIE-LABlab(47.83, 28.97, -53.77)
CIE-LCHlch(47.83, 61.08, 298.31°)
OKLaboklab(56.17% 0.0309 -0.1532)
OKLCHoklch(56.17% 0.156 281.4)
XYZxyz(21.3787, 16.6571, 59.8344)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6865CD #CACD65
analogous
#6596CD #6865CD #9C65CD
triadic
#6865CD #CD6865 #65CD68
tetradic
#6865CD #CD6596 #CACD65 #65CD9C
square
#6865CD #CD6596 #CACD65 #65CD9C
split-complementary
#6865CD #CD9C65 #96CD65
monochromatic
#302D8B #403CB9 #6865CD #9593DC #C3C1EB

Accessibility & contrast

On white

4.85
#6865CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6865CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6865CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6865CD#FFFFFF#000000##FFFFFF
##6865CD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#427C8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6865cd;
/* rgb */ color: rgb(104, 101, 205);
/* oklch */ color: oklch(56.2% 0.156 281.4);
Tailwind
colors: {
  custom: {
    50: '#9a91dd',
    500: '#6865cd',
    950: '#000000',
  },
}
SCSS
$custom: #6865cd;
$custom-light: #9a91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6865cd",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 241.731,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.1563,
    "h": 281.4
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#6865CD
secondary
#DADBB3
accent
#DA4DD6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6865CD

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

Preview Lab → · Contrast checker → · Palette generator →

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