#6870DD#6870DD

#6870DD is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.164 H 277.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6870DD
RGBrgb(104, 112, 221)
HSLhsl(236, 63%, 64%)
HSVhsv(236, 53%, 87%)
CMYKcmyk(52.9%, 49.3%, 0%, 13.3%)
CIE-LABlab(51.55, 27.25, -56.89)
CIE-LCHlch(51.55, 63.08, 295.59°)
OKLaboklab(59.29% 0.02 -0.1623)
OKLCHoklch(59.29% 0.164 277)
XYZxyz(24.5501, 19.7503, 70.9111)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870DD #DDD568
analogous
#68AADD #6870DD #9A68DD
triadic
#6870DD #DD6870 #70DD68
tetradic
#6870DD #DD68AA #DDD568 #68DD9A
square
#6870DD #DD68AA #DDD568 #68DD9A
split-complementary
#6870DD #DD9A68 #AADD68
monochromatic
#252EA5 #3641D2 #6870DD #9A9FE8 #CCCFF3

Accessibility & contrast

On white

4.24
#6870DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6870DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870DD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870DD#FFFFFF#000000##000000
##6870DD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E1
Deuteranopia (green-blind)
#2C76DB
Tritanopia (blue-blind)
#32889C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6870dd;
/* rgb */ color: rgb(104, 112, 221);
/* oklch */ color: oklch(59.3% 0.164 277.0);
Tailwind
colors: {
  custom: {
    50: '#9b99e8',
    500: '#6870dd',
    950: '#000000',
  },
}
SCSS
$custom: #6870dd;
$custom-light: #9b99e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6870dd",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 235.897,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59293,
    "c": 0.1635,
    "h": 277
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#6870DD
secondary
#E5E2BC
accent
#BF1ACB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6870DD

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

Preview Lab → · Contrast checker → · Palette generator →

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