#6870FB#6870FB

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

Color values

HEX#6870FB
RGBrgb(104, 112, 251)
HSLhsl(237, 95%, 70%)
HSVhsv(237, 59%, 98%)
CMYKcmyk(58.6%, 55.4%, 0%, 1.6%)
CIE-LABlab(53.49, 36.75, -70.55)
CIE-LCHlch(53.49, 79.55, 297.52°)
OKLaboklab(61.36% 0.0217 -0.2025)
OKLCHoklch(61.36% 0.204 276.1)
XYZxyz(28.9100, 21.4943, 93.8734)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870FB #FBF368
analogous
#68B9FB #6870FB #AA68FB
triadic
#6870FB #FB6870 #70FB68
tetradic
#6870FB #FB68B9 #FBF368 #68FBAA
square
#6870FB #FB68B9 #FBF368 #68FBAA
split-complementary
#6870FB #FBAA68 #B9FB68
monochromatic
#0612E3 #2C38F9 #6870FB #A4A8FD #DFE1FE

Accessibility & contrast

On white

3.96
#6870FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6870FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870FB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870FB#FFFFFF#000000##000000
##6870FB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6870fb;
/* rgb */ color: rgb(104, 112, 251);
/* oklch */ color: oklch(61.4% 0.204 276.1);
Tailwind
colors: {
  custom: {
    50: '#9f99fe',
    500: '#6870fb',
    950: '#000000',
  },
}
SCSS
$custom: #6870fb;
$custom-light: #9f99fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6870fb",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 236.735,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.20362,
    "h": 276.1
  },
  "luminance": 0.21496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6870FB

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

Preview Lab → · Contrast checker → · Palette generator →

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