#6670EC#6670EC

#6670EC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.2% C 0.184 H 275.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6670EC
RGBrgb(102, 112, 236)
HSLhsl(236, 78%, 66%)
HSVhsv(236, 57%, 93%)
CMYKcmyk(56.8%, 52.5%, 0%, 7.5%)
CIE-LABlab(52.36, 31.61, -64.02)
CIE-LCHlch(52.36, 71.40, 296.27°)
OKLaboklab(60.17% 0.0189 -0.1833)
OKLCHoklch(60.17% 0.184 275.9)
XYZxyz(26.4091, 20.4673, 81.8996)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670EC #ECE266
analogous
#66B3EC #6670EC #9F66EC
triadic
#6670EC #EC6670 #70EC66
tetradic
#6670EC #EC66B3 #ECE266 #66EC9F
square
#6670EC #EC66B3 #ECE266 #66EC9F
split-complementary
#6670EC #EC9F66 #B3EC66
monochromatic
#1824C0 #303DE5 #6670EC #9CA3F3 #D3D6FA

Accessibility & contrast

On white

4.12
#6670EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6670EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670EC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670EC#FFFFFF#000000##000000
##6670EC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0E8CA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6670ec;
/* rgb */ color: rgb(102, 112, 236);
/* oklch */ color: oklch(60.2% 0.184 275.9);
Tailwind
colors: {
  custom: {
    50: '#9c99f3',
    500: '#6670ec',
    950: '#000000',
  },
}
SCSS
$custom: #6670ec;
$custom-light: #9c99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6670ec",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 235.522,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60168,
    "c": 0.18428,
    "h": 275.9
  },
  "luminance": 0.20469
}

Semantic roles & 50–950 ramp

primary
#6670EC
secondary
#EDEAC1
accent
#CB0BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6670EC

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

Preview Lab → · Contrast checker → · Palette generator →

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