#6870CD#6870CD

#6870CD is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.141 H 277.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6870CD
RGBrgb(104, 112, 205)
HSLhsl(235, 50%, 61%)
HSVhsv(235, 49%, 80%)
CMYKcmyk(49.3%, 45.4%, 0%, 19.6%)
CIE-LABlab(50.61, 22.26, -49.31)
CIE-LCHlch(50.61, 54.10, 294.30°)
OKLaboklab(58.28% 0.0181 -0.14)
OKLCHoklch(58.28% 0.141 277.4)
XYZxyz(22.5191, 18.9379, 60.2145)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870CD #CDC568
analogous
#68A2CD #6870CD #9368CD
triadic
#6870CD #CD6870 #70CD68
tetradic
#6870CD #CD68A2 #CDC568 #68CD93
square
#6870CD #CD68A2 #CDC568 #68CD93
split-complementary
#6870CD #CD9368 #A2CD68
monochromatic
#2E368C #3E48BA #6870CD #969CDC #C4C7EB

Accessibility & contrast

On white

4.39
#6870CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#6870CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870CD#FFFFFF#000000##000000
##6870CD1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD0
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#418494
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6870cd;
/* rgb */ color: rgb(104, 112, 205);
/* oklch */ color: oklch(58.3% 0.141 277.4);
Tailwind
colors: {
  custom: {
    50: '#9998dd',
    500: '#6870cd',
    950: '#000000',
  },
}
SCSS
$custom: #6870cd;
$custom-light: #9998dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6870cd",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 235.248,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.14118,
    "h": 277.4
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#6870CD
secondary
#DCD9B5
accent
#B228BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6870CD

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

Preview Lab → · Contrast checker → · Palette generator →

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