#6870E8#6870E8

#6870E8 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.178 H 276.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6870E8
RGBrgb(104, 112, 232)
HSLhsl(236, 74%, 66%)
HSVhsv(236, 55%, 91%)
CMYKcmyk(55.2%, 51.7%, 0%, 9%)
CIE-LABlab(52.24, 30.72, -61.98)
CIE-LCHlch(52.24, 69.17, 296.36°)
OKLaboklab(60.03% 0.0209 -0.1772)
OKLCHoklch(60.03% 0.178 276.7)
XYZxyz(26.0639, 20.3558, 78.8839)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870E8 #E8E068
analogous
#68B0E8 #6870E8 #A068E8
triadic
#6870E8 #E86870 #70E868
tetradic
#6870E8 #E868B0 #E8E068 #68E8A0
square
#6870E8 #E868B0 #E8E068 #68E8A0
split-complementary
#6870E8 #E8A068 #B0E868
monochromatic
#1C26B9 #333EE0 #6870E8 #9DA2F0 #D2D5F8

Accessibility & contrast

On white

4.14
#6870E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6870E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870E8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870E8#FFFFFF#000000##000000
##6870E81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#1377E5
Tritanopia (blue-blind)
#238BA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6870e8;
/* rgb */ color: rgb(104, 112, 232);
/* oklch */ color: oklch(60.0% 0.178 276.7);
Tailwind
colors: {
  custom: {
    50: '#9d99f0',
    500: '#6870e8',
    950: '#000000',
  },
}
SCSS
$custom: #6870e8;
$custom-light: #9d99f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6870e8",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 236.25,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60027,
    "c": 0.17847,
    "h": 276.7
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#6870E8
secondary
#EBE8C1
accent
#C910D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6870E8

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

Preview Lab → · Contrast checker → · Palette generator →

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