#6870DC#6870DC

#6870DC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.162 H 277.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6870DC
RGBrgb(104, 112, 220)
HSLhsl(236, 62%, 64%)
HSVhsv(236, 53%, 86%)
CMYKcmyk(52.7%, 49.1%, 0%, 13.7%)
CIE-LABlab(51.49, 26.93, -56.42)
CIE-LCHlch(51.49, 62.52, 295.52°)
OKLaboklab(59.23% 0.0199 -0.1609)
OKLCHoklch(59.23% 0.162 277)
XYZxyz(24.4173, 19.6971, 70.2115)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870DC #DCD468
analogous
#68AADC #6870DC #9A68DC
triadic
#6870DC #DC6870 #70DC68
tetradic
#6870DC #DC68AA #DCD468 #68DC9A
square
#6870DC #DC68AA #DCD468 #68DC9A
split-complementary
#6870DC #DC9A68 #AADC68
monochromatic
#262FA4 #3641D0 #6870DC #9A9FE8 #CBCEF3

Accessibility & contrast

On white

4.25
#6870DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6870DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870DC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870DC#FFFFFF#000000##000000
##6870DC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#2E76DA
Tritanopia (blue-blind)
#33889C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6870dc;
/* rgb */ color: rgb(104, 112, 220);
/* oklch */ color: oklch(59.2% 0.162 277.0);
Tailwind
colors: {
  custom: {
    50: '#9b99e7',
    500: '#6870dc',
    950: '#000000',
  },
}
SCSS
$custom: #6870dc;
$custom-light: #9b99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6870dc",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 235.862,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.16212,
    "h": 277
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#6870DC
secondary
#E4E2BB
accent
#BE1BCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6870DC

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

Preview Lab → · Contrast checker → · Palette generator →

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