#6C70EA#6C70EA

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

Color values

HEX#6C70EA
RGBrgb(108, 112, 234)
HSLhsl(238, 75%, 67%)
HSVhsv(238, 54%, 92%)
CMYKcmyk(53.8%, 52.1%, 0%, 8.2%)
CIE-LABlab(52.64, 32.13, -62.44)
CIE-LCHlch(52.64, 70.22, 297.23°)
OKLaboklab(60.44% 0.0255 -0.1785)
OKLCHoklch(60.44% 0.18 278.1)
XYZxyz(26.8251, 20.7153, 80.4109)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C70EA #EAE66C
analogous
#6CAFEA #6C70EA #A76CEA
triadic
#6C70EA #EA6C70 #70EA6C
tetradic
#6C70EA #EA6CAF #EAE66C #6CEAA7
square
#6C70EA #EA6CAF #EAE66C #6CEAA7
split-complementary
#6C70EA #EAA76C #AFEA6C
monochromatic
#1B21C0 #363CE2 #6C70EA #A2A4F2 #D7D8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C70EA#FFFFFF#000000##000000
##6C70EA1.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)
#2C83EE
Deuteranopia (green-blind)
#1479E7
Tritanopia (blue-blind)
#2F8CA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6c70ea;
/* rgb */ color: rgb(108, 112, 234);
/* oklch */ color: oklch(60.4% 0.180 278.1);
Tailwind
colors: {
  custom: {
    50: '#9f99f1',
    500: '#6c70ea',
    950: '#000000',
  },
}
SCSS
$custom: #6c70ea;
$custom-light: #9f99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c70ea",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 238.095,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60437,
    "c": 0.18031,
    "h": 278.1
  },
  "luminance": 0.20717
}

Semantic roles & 50–950 ramp

primary
#6C70EA
secondary
#EDECC5
accent
#D10ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6C70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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