#6864DD#6864DD

#6864DD is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.179 H 280.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6864DD
RGBrgb(104, 100, 221)
HSLhsl(242, 64%, 63%)
HSVhsv(242, 55%, 87%)
CMYKcmyk(52.9%, 54.8%, 0%, 13.3%)
CIE-LABlab(48.61, 34.51, -61.63)
CIE-LCHlch(48.61, 70.64, 299.25°)
OKLaboklab(57.08% 0.0329 -0.1763)
OKLCHoklch(57.08% 0.179 280.6)
XYZxyz(23.3132, 17.2764, 70.4988)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864DD #D9DD64
analogous
#649DDD #6864DD #A464DD
triadic
#6864DD #DD6864 #64DD68
tetradic
#6864DD #DD649D #D9DD64 #64DDA4
square
#6864DD #DD649D #D9DD64 #64DDA4
split-complementary
#6864DD #DDA464 #9DDD64
monochromatic
#2824A3 #3732D2 #6864DD #9996E8 #CAC8F3

Accessibility & contrast

On white

4.71
#6864DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6864DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6864DD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864DD#FFFFFF#000000##FFFFFF
##6864DD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1478E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#348097
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6864dd;
/* rgb */ color: rgb(104, 100, 221);
/* oklch */ color: oklch(57.1% 0.179 280.6);
Tailwind
colors: {
  custom: {
    50: '#9c90e8',
    500: '#6864dd',
    950: '#000000',
  },
}
SCSS
$custom: #6864dd;
$custom-light: #9c90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6864dd",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 241.983,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.17936,
    "h": 280.6
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#6864DD
secondary
#E3E4B9
accent
#CC1AC6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6864DD

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

Preview Lab → · Contrast checker → · Palette generator →

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