#6870F8#6870F8

#6870F8 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.1% C 0.200 H 276.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6870F8
RGBrgb(104, 112, 248)
HSLhsl(237, 91%, 69%)
HSVhsv(237, 58%, 97%)
CMYKcmyk(58.1%, 54.8%, 0%, 2.7%)
CIE-LABlab(53.28, 35.79, -69.21)
CIE-LCHlch(53.28, 77.92, 297.35°)
OKLaboklab(61.14% 0.0216 -0.1985)
OKLCHoklch(61.14% 0.2 276.2)
XYZxyz(28.4409, 21.3066, 91.4026)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870F8 #F8F068
analogous
#68B8F8 #6870F8 #A868F8
triadic
#6870F8 #F86870 #70F868
tetradic
#6870F8 #F868B8 #F8F068 #68F8A8
square
#6870F8 #F868B8 #F8F068 #68F8A8
split-complementary
#6870F8 #F8A868 #B8F868
monochromatic
#0A16DB #2E39F5 #6870F8 #A2A7FB #DDDFFD

Accessibility & contrast

On white

3.99
#6870F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6870F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870F8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870F8#FFFFFF#000000##000000
##6870F81.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#0079F5
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6870f8;
/* rgb */ color: rgb(104, 112, 248);
/* oklch */ color: oklch(61.1% 0.200 276.2);
Tailwind
colors: {
  custom: {
    50: '#9f99fb',
    500: '#6870f8',
    950: '#000000',
  },
}
SCSS
$custom: #6870f8;
$custom-light: #9f99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6870f8",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 236.667,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61143,
    "c": 0.1997,
    "h": 276.2
  },
  "luminance": 0.21309
}

Semantic roles & 50–950 ramp

primary
#6870F8
secondary
#F3F1C9
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6870F8

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

Preview Lab → · Contrast checker → · Palette generator →

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