#6870C8#6870C8

#6870C8 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.134 H 277.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6870C8
RGBrgb(104, 112, 200)
HSLhsl(235, 47%, 60%)
HSVhsv(235, 48%, 78%)
CMYKcmyk(48%, 44%, 0%, 21.6%)
CIE-LABlab(50.33, 20.72, -46.90)
CIE-LCHlch(50.33, 51.27, 293.84°)
OKLaboklab(57.98% 0.0173 -0.133)
OKLCHoklch(57.98% 0.134 277.4)
XYZxyz(21.9252, 18.7003, 57.0866)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870C8 #C8C068
analogous
#68A0C8 #6870C8 #9068C8
triadic
#6870C8 #C86870 #70C868
tetradic
#6870C8 #C868A0 #C8C068 #68C890
square
#6870C8 #C868A0 #C8C068 #68C890
split-complementary
#6870C8 #C89068 #A0C868
monochromatic
#303885 #414AB2 #6870C8 #959AD8 #C2C5E9

Accessibility & contrast

On white

4.43
#6870C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6870C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870C8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870C8#FFFFFF#000000##000000
##6870C81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCB
Deuteranopia (green-blind)
#4474C6
Tritanopia (blue-blind)
#448392
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6870c8;
/* rgb */ color: rgb(104, 112, 200);
/* oklch */ color: oklch(58.0% 0.134 277.4);
Tailwind
colors: {
  custom: {
    50: '#9898d9',
    500: '#6870c8',
    950: '#000000',
  },
}
SCSS
$custom: #6870c8;
$custom-light: #9898d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6870c8",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 235,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.13409,
    "h": 277.4
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#6870C8
secondary
#D9D5B3
accent
#CB52D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6870C8

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

Preview Lab → · Contrast checker → · Palette generator →

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