#6670F4#6670F4

#6670F4 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.7% C 0.195 H 275.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6670F4
RGBrgb(102, 112, 244)
HSLhsl(236, 87%, 68%)
HSVhsv(236, 58%, 96%)
CMYKcmyk(58.2%, 54.1%, 0%, 4.3%)
CIE-LABlab(52.89, 34.17, -67.64)
CIE-LCHlch(52.89, 75.78, 296.80°)
OKLaboklab(60.73% 0.0193 -0.1939)
OKLCHoklch(60.73% 0.195 275.7)
XYZxyz(27.5975, 20.9427, 88.1585)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670F4 #F4EA66
analogous
#66B7F4 #6670F4 #A366F4
triadic
#6670F4 #F46670 #70F466
tetradic
#6670F4 #F466B7 #F4EA66 #66F4A3
square
#6670F4 #F466B7 #F4EA66 #66F4A3
split-complementary
#6670F4 #F4A366 #B7F466
monochromatic
#0F1DD1 #2D3BF0 #6670F4 #9FA5F8 #D8DBFC

Accessibility & contrast

On white

4.05
#6670F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6670F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670F4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670F4#FFFFFF#000000##000000
##6670F41.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1184F9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6670f4;
/* rgb */ color: rgb(102, 112, 244);
/* oklch */ color: oklch(60.7% 0.195 275.7);
Tailwind
colors: {
  custom: {
    50: '#9d99f9',
    500: '#6670f4',
    950: '#000000',
  },
}
SCSS
$custom: #6670f4;
$custom-light: #9d99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6670f4",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 235.775,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60728,
    "c": 0.1949,
    "h": 275.7
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#6670F4
secondary
#F1EEC5
accent
#D302E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6670F4

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

Preview Lab → · Contrast checker → · Palette generator →

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