#6870FE#6870FE

#6870FE is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.6% C 0.208 H 276.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6870FE
RGBrgb(104, 112, 254)
HSLhsl(237, 99%, 70%)
HSVhsv(237, 59%, 100%)
CMYKcmyk(59.1%, 55.9%, 0%, 0.4%)
CIE-LABlab(53.69, 37.70, -71.88)
CIE-LCHlch(53.69, 81.17, 297.68°)
OKLaboklab(61.58% 0.0217 -0.2064)
OKLCHoklch(61.58% 0.208 276)
XYZxyz(29.3867, 21.6849, 96.3837)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870FE #FEF668
analogous
#68BBFE #6870FE #AB68FE
triadic
#6870FE #FE6870 #70FE68
tetradic
#6870FE #FE68BB #FEF668 #68FEAB
square
#6870FE #FE68BB #FEF668 #68FEAB
split-complementary
#6870FE #FEAB68 #BBFE68
monochromatic
#020EEA #2B36FE #6870FE #A5AAFE #E1E2FF

Accessibility & contrast

On white

3.93
#6870FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6870FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870FE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870FE#FFFFFF#000000##000000
##6870FE1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#0092AC
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6870fe;
/* rgb */ color: rgb(104, 112, 254);
/* oklch */ color: oklch(61.6% 0.208 276.0);
Tailwind
colors: {
  custom: {
    50: '#a099ff',
    500: '#6870fe',
    950: '#000000',
  },
}
SCSS
$custom: #6870fe;
$custom-light: #a099ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6870fe",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 236.8,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.20751,
    "h": 276
  },
  "luminance": 0.21687
}

Semantic roles & 50–950 ramp

primary
#6870FE
secondary
#F6F3CC
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6870FE

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

Preview Lab → · Contrast checker → · Palette generator →

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