#6A70EC#6A70EC

#6A70EC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.183 H 277.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6A70EC
RGBrgb(106, 112, 236)
HSLhsl(237, 77%, 67%)
HSVhsv(237, 55%, 93%)
CMYKcmyk(55.1%, 52.5%, 0%, 7.5%)
CIE-LABlab(52.63, 32.36, -63.58)
CIE-LCHlch(52.63, 71.34, 296.98°)
OKLaboklab(60.44% 0.0234 -0.1819)
OKLCHoklch(60.44% 0.183 277.3)
XYZxyz(26.8735, 20.7068, 81.9213)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A70EC #ECE66A
analogous
#6AB1EC #6A70EC #A56AEC
triadic
#6A70EC #EC6A70 #70EC6A
tetradic
#6A70EC #EC6AB1 #ECE66A #6AECA5
square
#6A70EC #EC6AB1 #ECE66A #6AECA5
split-complementary
#6A70EC #ECA56A #B1EC6A
monochromatic
#1921C3 #343CE5 #6A70EC #A0A4F3 #D7D8FA

Accessibility & contrast

On white

4.08
#6A70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6A70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A70EC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A70EC#FFFFFF#000000##000000
##6A70EC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F0
Deuteranopia (green-blind)
#0478E9
Tritanopia (blue-blind)
#258CA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a70ec;
/* rgb */ color: rgb(106, 112, 236);
/* oklch */ color: oklch(60.4% 0.183 277.3);
Tailwind
colors: {
  custom: {
    50: '#9e99f3',
    500: '#6a70ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a70ec;
$custom-light: #9e99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a70ec",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 237.231,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.1834,
    "h": 277.3
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#6A70EC
secondary
#EEECC4
accent
#D00CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6A70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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