#6D70EC#6D70EC

#6D70EC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.183 H 278.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6D70EC
RGBrgb(109, 112, 236)
HSLhsl(239, 77%, 68%)
HSVhsv(239, 54%, 93%)
CMYKcmyk(53.8%, 52.5%, 0%, 7.5%)
CIE-LABlab(52.83, 32.95, -63.24)
CIE-LCHlch(52.83, 71.31, 297.52°)
OKLaboklab(60.64% 0.0267 -0.1808)
OKLCHoklch(60.64% 0.183 278.4)
XYZxyz(27.2364, 20.8939, 81.9383)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D70EC #ECE96D
analogous
#6DAFEC #6D70EC #AA6DEC
triadic
#6D70EC #EC6D70 #70EC6D
tetradic
#6D70EC #EC6DAF #ECE96D #6DECAA
square
#6D70EC #EC6DAF #ECE96D #6DECAA
split-complementary
#6D70EC #ECAA6D #AFEC6D
monochromatic
#1A1EC5 #373BE5 #6D70EC #A3A5F3 #D9DAFA

Accessibility & contrast

On white

4.05
#6D70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6D70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D70EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D70EC#FFFFFF#000000##000000
##6D70EC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#0E79E9
Tritanopia (blue-blind)
#308CA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6d70ec;
/* rgb */ color: rgb(109, 112, 236);
/* oklch */ color: oklch(60.6% 0.183 278.4);
Tailwind
colors: {
  custom: {
    50: '#a099f3',
    500: '#6d70ec',
    950: '#000000',
  },
}
SCSS
$custom: #6d70ec;
$custom-light: #a099f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d70ec",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 238.583,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.18279,
    "h": 278.4
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#6D70EC
secondary
#EEEDC7
accent
#D40CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6D70EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6D70EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva