#6670CD#6670CD

#6670CD is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.142 H 276.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6670CD
RGBrgb(102, 112, 205)
HSLhsl(234, 51%, 60%)
HSVhsv(234, 50%, 80%)
CMYKcmyk(50.2%, 45.4%, 0%, 19.6%)
CIE-LABlab(50.48, 21.80, -49.54)
CIE-LCHlch(50.48, 54.13, 293.76°)
OKLaboklab(58.14% 0.0159 -0.1407)
OKLCHoklch(58.14% 0.142 276.4)
XYZxyz(22.2897, 18.8196, 60.2038)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670CD #CDC366
analogous
#66A3CD #6670CD #9066CD
triadic
#6670CD #CD6670 #70CD66
tetradic
#6670CD #CD66A3 #CDC366 #66CD90
square
#6670CD #CD66A3 #CDC366 #66CD90
split-complementary
#6670CD #CD9066 #A3CD66
monochromatic
#2D378B #3D49B9 #6670CD #949BDC #C2C6EB

Accessibility & contrast

On white

4.41
#6670CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6670CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670CD#FFFFFF#000000##000000
##6670CD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CD0
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#3C8494
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6670cd;
/* rgb */ color: rgb(102, 112, 205);
/* oklch */ color: oklch(58.1% 0.142 276.4);
Tailwind
colors: {
  custom: {
    50: '#9898dd',
    500: '#6670cd',
    950: '#000000',
  },
}
SCSS
$custom: #6670cd;
$custom-light: #9898dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6670cd",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 234.175,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.14164,
    "h": 276.4
  },
  "luminance": 0.18821
}

Semantic roles & 50–950 ramp

primary
#6670CD
secondary
#DBD7B4
accent
#AF27BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6670CD

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

Preview Lab → · Contrast checker → · Palette generator →

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