#6670F7#6670F7

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

Color values

HEX#6670F7
RGBrgb(102, 112, 247)
HSLhsl(236, 90%, 68%)
HSVhsv(236, 59%, 97%)
CMYKcmyk(58.7%, 54.7%, 0%, 3.1%)
CIE-LABlab(53.09, 35.13, -68.98)
CIE-LCHlch(53.09, 77.41, 296.99°)
OKLaboklab(60.94% 0.0194 -0.1979)
OKLCHoklch(60.94% 0.199 275.6)
XYZxyz(28.0567, 21.1264, 90.5770)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670F7 #F7ED66
analogous
#66B8F7 #6670F7 #A466F7
triadic
#6670F7 #F76670 #70F766
tetradic
#6670F7 #F766B8 #F7ED66 #66F7A4
square
#6670F7 #F766B8 #F7ED66 #66F7A4
split-complementary
#6670F7 #F7A466 #B8F766
monochromatic
#0B19D7 #2C3AF4 #6670F7 #A0A6FA #DADDFD

Accessibility & contrast

On white

4.02
#6670F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6670F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670F7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670F7#FFFFFF#000000##000000
##6670F71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0185FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6670f7;
/* rgb */ color: rgb(102, 112, 247);
/* oklch */ color: oklch(60.9% 0.199 275.6);
Tailwind
colors: {
  custom: {
    50: '#9e99fb',
    500: '#6670f7',
    950: '#000000',
  },
}
SCSS
$custom: #6670f7;
$custom-light: #9e99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6670f7",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 235.862,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.19885,
    "h": 275.6
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6670F7

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

Preview Lab → · Contrast checker → · Palette generator →

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