#6864BB#6864BB

#6864BB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.132 H 283.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6864BB
RGBrgb(104, 100, 187)
HSLhsl(243, 39%, 56%)
HSVhsv(243, 47%, 73%)
CMYKcmyk(44.4%, 46.5%, 0%, 26.7%)
CIE-LABlab(46.50, 24.13, -45.51)
CIE-LCHlch(46.50, 51.51, 297.93°)
OKLaboklab(54.83% 0.0302 -0.1289)
OKLCHoklch(54.83% 0.132 283.2)
XYZxyz(19.2331, 15.6444, 49.0103)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864BB #B7BB64
analogous
#648CBB #6864BB #9464BB
triadic
#6864BB #BB6864 #64BB68
tetradic
#6864BB #BB648C #B7BB64 #64BB94
square
#6864BB #BB648C #B7BB64 #64BB94
split-complementary
#6864BB #BB9464 #8CBB64
monochromatic
#353272 #49459D #6864BB #918FCE #BBB9E0

Accessibility & contrast

On white

5.09
#6864BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6864BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6864BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864BB#FFFFFF#000000##FFFFFF
##6864BB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#4D7686
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6864bb;
/* rgb */ color: rgb(104, 100, 187);
/* oklch */ color: oklch(54.8% 0.132 283.2);
Tailwind
colors: {
  custom: {
    50: '#9890d0',
    500: '#6864bb',
    950: '#000000',
  },
}
SCSS
$custom: #6864bb;
$custom-light: #9890d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6864bb",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 242.759,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54833,
    "c": 0.13245,
    "h": 283.2
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#6864BB
secondary
#CECFAB
accent
#CF59C9
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6864BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6864BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva