#6865CB#6865CB

#6865CB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.0% C 0.154 H 281.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6865CB
RGBrgb(104, 101, 203)
HSLhsl(242, 50%, 60%)
HSVhsv(242, 50%, 80%)
CMYKcmyk(48.8%, 50.2%, 0%, 20.4%)
CIE-LABlab(47.70, 28.36, -52.83)
CIE-LCHlch(47.70, 59.96, 298.23°)
OKLaboklab(56.04% 0.0308 -0.1504)
OKLCHoklch(56.04% 0.154 281.6)
XYZxyz(21.1388, 16.5611, 58.5711)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6865CB #C8CB65
analogous
#6595CB #6865CB #9B65CB
triadic
#6865CB #CB6865 #65CB68
tetradic
#6865CB #CB6595 #C8CB65 #65CB9B
square
#6865CB #CB6595 #C8CB65 #65CB9B
split-complementary
#6865CB #CB9B65 #95CB65
monochromatic
#302E88 #413DB6 #6865CB #9593DA #C2C1EA

Accessibility & contrast

On white

4.87
#6865CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6865CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6865CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6865CB#FFFFFF#000000##FFFFFF
##6865CB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#447B8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6865cb;
/* rgb */ color: rgb(104, 101, 203);
/* oklch */ color: oklch(56.0% 0.154 281.6);
Tailwind
colors: {
  custom: {
    50: '#9991db',
    500: '#6865cb',
    950: '#000000',
  },
}
SCSS
$custom: #6865cb;
$custom-light: #9991db;
$custom-dark: #000000;
JSON
{
  "hex": "#6865cb",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 241.765,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.15353,
    "h": 281.6
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6865CB

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

Preview Lab → · Contrast checker → · Palette generator →

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