#6670F6#6670F6

#6670F6 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.9% C 0.198 H 275.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6670F6
RGBrgb(102, 112, 246)
HSLhsl(236, 89%, 68%)
HSVhsv(236, 59%, 96%)
CMYKcmyk(58.5%, 54.5%, 0%, 3.5%)
CIE-LABlab(53.02, 34.81, -68.53)
CIE-LCHlch(53.02, 76.87, 296.92°)
OKLaboklab(60.87% 0.0194 -0.1966)
OKLCHoklch(60.87% 0.198 275.6)
XYZxyz(27.9028, 21.0648, 89.7664)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670F6 #F6EC66
analogous
#66B8F6 #6670F6 #A466F6
triadic
#6670F6 #F66670 #70F666
tetradic
#6670F6 #F666B8 #F6EC66 #66F6A4
square
#6670F6 #F666B8 #F6EC66 #66F6A4
split-complementary
#6670F6 #F6A466 #B8F666
monochromatic
#0D1AD5 #2C3AF3 #6670F6 #A0A6F9 #DADCFD

Accessibility & contrast

On white

4.03
#6670F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6670F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670F6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670F6#FFFFFF#000000##000000
##6670F61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0785FB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#008FA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6670f6;
/* rgb */ color: rgb(102, 112, 246);
/* oklch */ color: oklch(60.9% 0.198 275.6);
Tailwind
colors: {
  custom: {
    50: '#9e99fa',
    500: '#6670f6',
    950: '#000000',
  },
}
SCSS
$custom: #6670f6;
$custom-light: #9e99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6670f6",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 235.833,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.19753,
    "h": 275.6
  },
  "luminance": 0.21067
}

Semantic roles & 50–950 ramp

primary
#6670F6
secondary
#F2EFC6
accent
#D600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6670F6

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

Preview Lab → · Contrast checker → · Palette generator →

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