#6870F3#6870F3

#6870F3 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.8% C 0.193 H 276.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6870F3
RGBrgb(104, 112, 243)
HSLhsl(237, 85%, 68%)
HSVhsv(237, 57%, 95%)
CMYKcmyk(57.2%, 53.9%, 0%, 4.7%)
CIE-LABlab(52.95, 34.20, -66.97)
CIE-LCHlch(52.95, 75.20, 297.05°)
OKLaboklab(60.79% 0.0215 -0.1919)
OKLCHoklch(60.79% 0.193 276.4)
XYZxyz(27.6755, 21.0005, 87.3717)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870F3 #F3EB68
analogous
#68B5F3 #6870F3 #A568F3
triadic
#6870F3 #F36870 #70F368
tetradic
#6870F3 #F368B5 #F3EB68 #68F3A5
square
#6870F3 #F368B5 #F3EB68 #68F3A5
split-complementary
#6870F3 #F3A568 #B5F368
monochromatic
#111CD0 #2F3AEE #6870F3 #A1A6F8 #D9DBFC

Accessibility & contrast

On white

4.04
#6870F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6870F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870F3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870F3#FFFFFF#000000##000000
##6870F31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1684F8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#048EA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6870f3;
/* rgb */ color: rgb(104, 112, 243);
/* oklch */ color: oklch(60.8% 0.193 276.4);
Tailwind
colors: {
  custom: {
    50: '#9e99f8',
    500: '#6870f3',
    950: '#000000',
  },
}
SCSS
$custom: #6870f3;
$custom-light: #9e99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6870f3",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 236.547,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.19314,
    "h": 276.4
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#6870F3
secondary
#F1EEC6
accent
#D504E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6870F3

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

Preview Lab → · Contrast checker → · Palette generator →

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