#6870F7#6870F7

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

Color values

HEX#6870F7
RGBrgb(104, 112, 247)
HSLhsl(237, 90%, 69%)
HSVhsv(237, 58%, 97%)
CMYKcmyk(57.9%, 54.7%, 0%, 3.1%)
CIE-LABlab(53.22, 35.48, -68.77)
CIE-LCHlch(53.22, 77.38, 297.29°)
OKLaboklab(61.07% 0.0216 -0.1972)
OKLCHoklch(61.07% 0.198 276.2)
XYZxyz(28.2862, 21.2447, 90.5877)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870F7 #F7EF68
analogous
#68B8F7 #6870F7 #A868F7
triadic
#6870F7 #F76870 #70F768
tetradic
#6870F7 #F768B8 #F7EF68 #68F7A8
square
#6870F7 #F768B8 #F7EF68 #68F7A8
split-complementary
#6870F7 #F7A868 #B8F768
monochromatic
#0C17D9 #2E39F4 #6870F7 #A2A7FA #DCDEFD

Accessibility & contrast

On white

4.00
#6870F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6870F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870F7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870F7#FFFFFF#000000##000000
##6870F71.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0485FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6870f7;
/* rgb */ color: rgb(104, 112, 247);
/* oklch */ color: oklch(61.1% 0.198 276.2);
Tailwind
colors: {
  custom: {
    50: '#9f99fb',
    500: '#6870f7',
    950: '#000000',
  },
}
SCSS
$custom: #6870f7;
$custom-light: #9f99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6870f7",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 236.643,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.1984,
    "h": 276.2
  },
  "luminance": 0.21247
}

Semantic roles & 50–950 ramp

primary
#6870F7
secondary
#F3F0C8
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6870F7

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

Preview Lab → · Contrast checker → · Palette generator →

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