#6864BD#6864BD

#6864BD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.135 H 283.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6864BD
RGBrgb(104, 100, 189)
HSLhsl(243, 40%, 57%)
HSVhsv(243, 47%, 74%)
CMYKcmyk(45%, 47.1%, 0%, 25.9%)
CIE-LABlab(46.62, 24.73, -46.49)
CIE-LCHlch(46.62, 52.65, 298.01°)
OKLaboklab(54.96% 0.0305 -0.1318)
OKLCHoklch(54.96% 0.135 283)
XYZxyz(19.4487, 15.7306, 50.1458)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864BD #B9BD64
analogous
#648DBD #6864BD #9564BD
triadic
#6864BD #BD6864 #64BD68
tetradic
#6864BD #BD648D #B9BD64 #64BD95
square
#6864BD #BD648D #B9BD64 #64BD95
split-complementary
#6864BD #BD9564 #8DBD64
monochromatic
#353275 #4844A0 #6864BD #928FCF #BCBAE2

Accessibility & contrast

On white

5.06
#6864BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6864BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6864BD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864BD#FFFFFF#000000##FFFFFF
##6864BD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071C0
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#4C7787
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6864bd;
/* rgb */ color: rgb(104, 100, 189);
/* oklch */ color: oklch(55.0% 0.135 283.0);
Tailwind
colors: {
  custom: {
    50: '#9890d1',
    500: '#6864bd',
    950: '#000000',
  },
}
SCSS
$custom: #6864bd;
$custom-light: #9890d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6864bd",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 242.697,
    "s": 40.271,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.13529,
    "h": 283
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#6864BD
secondary
#CFD1AC
accent
#D058CB
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6864BD

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

Preview Lab → · Contrast checker → · Palette generator →

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