#6670E7#6670E7

#6670E7 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.178 H 276.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6670E7
RGBrgb(102, 112, 231)
HSLhsl(235, 73%, 65%)
HSVhsv(235, 56%, 91%)
CMYKcmyk(55.8%, 51.5%, 0%, 9.4%)
CIE-LABlab(52.04, 30.01, -61.74)
CIE-LCHlch(52.04, 68.65, 295.92°)
OKLaboklab(59.83% 0.0186 -0.1766)
OKLCHoklch(59.83% 0.178 276)
XYZxyz(25.6928, 20.1808, 78.1272)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670E7 #E7DD66
analogous
#66B0E7 #6670E7 #9D66E7
triadic
#6670E7 #E76670 #70E766
tetradic
#6670E7 #E766B0 #E7DD66 #66E79D
square
#6670E7 #E766B0 #E7DD66 #66E79D
split-complementary
#6670E7 #E79D66 #B0E766
monochromatic
#1D28B6 #313FDF #6670E7 #9BA1EF #D0D3F8

Accessibility & contrast

On white

4.17
#6670E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6670E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670E7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670E7#FFFFFF#000000##000000
##6670E71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#1277E4
Tritanopia (blue-blind)
#1C8BA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6670e7;
/* rgb */ color: rgb(102, 112, 231);
/* oklch */ color: oklch(59.8% 0.178 276.0);
Tailwind
colors: {
  custom: {
    50: '#9b99ef',
    500: '#6670e7',
    950: '#000000',
  },
}
SCSS
$custom: #6670e7;
$custom-light: #9b99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6670e7",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 235.349,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.17757,
    "h": 276
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#6670E7
secondary
#EAE7BF
accent
#C611D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6670E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6670E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva