#6865CF#6865CF

#6865CF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.3% C 0.159 H 281.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6865CF
RGBrgb(104, 101, 207)
HSLhsl(242, 52%, 60%)
HSVhsv(242, 51%, 81%)
CMYKcmyk(49.8%, 51.2%, 0%, 18.8%)
CIE-LABlab(47.95, 29.58, -54.72)
CIE-LCHlch(47.95, 62.21, 298.40°)
OKLaboklab(56.31% 0.0311 -0.156)
OKLCHoklch(56.31% 0.159 281.3)
XYZxyz(21.6217, 16.7542, 61.1140)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6865CF #CCCF65
analogous
#6597CF #6865CF #9D65CF
triadic
#6865CF #CF6865 #65CF68
tetradic
#6865CF #CF6597 #CCCF65 #65CF9D
square
#6865CF #CF6597 #CCCF65 #65CF9D
split-complementary
#6865CF #CF9D65 #97CF65
monochromatic
#2F2C8D #3E3BBC #6865CF #9694DE #C3C2EC

Accessibility & contrast

On white

4.83
#6865CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6865CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6865CF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6865CF#FFFFFF#000000##FFFFFF
##6865CF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#276ECD
Tritanopia (blue-blind)
#417C90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6865cf;
/* rgb */ color: rgb(104, 101, 207);
/* oklch */ color: oklch(56.3% 0.159 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a91de',
    500: '#6865cf',
    950: '#000000',
  },
}
SCSS
$custom: #6865cf;
$custom-light: #9a91de;
$custom-dark: #000000;
JSON
{
  "hex": "#6865cf",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 241.698,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.15906,
    "h": 281.3
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#6865CF
secondary
#DBDCB4
accent
#C026BC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6865CF

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

Preview Lab → · Contrast checker → · Palette generator →

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