#6870F5#6870F5

#6870F5 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.9% C 0.196 H 276.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6870F5
RGBrgb(104, 112, 245)
HSLhsl(237, 88%, 68%)
HSVhsv(237, 58%, 96%)
CMYKcmyk(57.6%, 54.3%, 0%, 3.9%)
CIE-LABlab(53.08, 34.84, -67.87)
CIE-LCHlch(53.08, 76.29, 297.17°)
OKLaboklab(60.93% 0.0215 -0.1946)
OKLCHoklch(60.93% 0.196 276.3)
XYZxyz(27.9792, 21.1219, 88.9710)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870F5 #F5ED68
analogous
#68B6F5 #6870F5 #A668F5
triadic
#6870F5 #F56870 #70F568
tetradic
#6870F5 #F568B6 #F5ED68 #68F5A6
square
#6870F5 #F568B6 #F5ED68 #68F5A6
split-complementary
#6870F5 #F5A668 #B6F568
monochromatic
#0E19D5 #2F3AF1 #6870F5 #A1A6F9 #DBDDFD

Accessibility & contrast

On white

4.02
#6870F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6870F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870F5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870F5#FFFFFF#000000##000000
##6870F51.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E85FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#008FA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6870f5;
/* rgb */ color: rgb(104, 112, 245);
/* oklch */ color: oklch(60.9% 0.196 276.3);
Tailwind
colors: {
  custom: {
    50: '#9e99f9',
    500: '#6870f5',
    950: '#000000',
  },
}
SCSS
$custom: #6870f5;
$custom-light: #9e99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6870f5",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 236.596,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.19577,
    "h": 276.3
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#6870F5
secondary
#F2EFC7
accent
#D701E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6870F5

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

Preview Lab → · Contrast checker → · Palette generator →

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