#6870FC#6870FC

#6870FC is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.4% C 0.205 H 276.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6870FC
RGBrgb(104, 112, 252)
HSLhsl(237, 96%, 70%)
HSVhsv(237, 59%, 99%)
CMYKcmyk(58.7%, 55.6%, 0%, 1.2%)
CIE-LABlab(53.55, 37.07, -70.99)
CIE-LCHlch(53.55, 80.09, 297.57°)
OKLaboklab(61.43% 0.0217 -0.2038)
OKLCHoklch(61.43% 0.205 276.1)
XYZxyz(29.0681, 21.5575, 94.7058)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870FC #FCF468
analogous
#68BAFC #6870FC #AA68FC
triadic
#6870FC #FC6870 #70FC68
tetradic
#6870FC #FC68BA #FCF468 #68FCAA
square
#6870FC #FC68BA #FCF468 #68FCAA
split-complementary
#6870FC #FCAA68 #BAFC68
monochromatic
#0511E5 #2C37FB #6870FC #A4A9FD #E0E2FE

Accessibility & contrast

On white

3.95
#6870FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6870FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870FC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870FC#FFFFFF#000000##000000
##6870FC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007AF9
Tritanopia (blue-blind)
#0091AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6870fc;
/* rgb */ color: rgb(104, 112, 252);
/* oklch */ color: oklch(61.4% 0.205 276.1);
Tailwind
colors: {
  custom: {
    50: '#a099fe',
    500: '#6870fc',
    950: '#000000',
  },
}
SCSS
$custom: #6870fc;
$custom-light: #a099fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6870fc",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 236.757,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.20491,
    "h": 276.1
  },
  "luminance": 0.2156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6870FC

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

Preview Lab → · Contrast checker → · Palette generator →

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