#646DCD#646DCD

#646DCD is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.4% C 0.146 H 276.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646DCD
RGBrgb(100, 109, 205)
HSLhsl(235, 51%, 60%)
HSVhsv(235, 51%, 80%)
CMYKcmyk(51.2%, 46.8%, 0%, 19.6%)
CIE-LABlab(49.56, 23.19, -51.01)
CIE-LCHlch(49.56, 56.04, 294.45°)
OKLaboklab(57.41% 0.0171 -0.1451)
OKLCHoklch(57.41% 0.146 276.7)
XYZxyz(21.7402, 18.0531, 60.0848)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DCD #CDC464
analogous
#64A2CD #646DCD #8F64CD
triadic
#646DCD #CD646D #6DCD64
tetradic
#646DCD #CD64A2 #CDC464 #64CD8F
square
#646DCD #CD64A2 #CDC464 #64CD8F
split-complementary
#646DCD #CD8F64 #A2CD64
monochromatic
#2D358A #3B46B8 #646DCD #9299DC #C1C4EB

Accessibility & contrast

On white

4.55
#646DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#646DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DCD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DCD#FFFFFF#000000##000000
##646DCD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD1
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#388293
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646dcd;
/* rgb */ color: rgb(100, 109, 205);
/* oklch */ color: oklch(57.4% 0.146 276.7);
Tailwind
colors: {
  custom: {
    50: '#9796dd',
    500: '#646dcd',
    950: '#000000',
  },
}
SCSS
$custom: #646dcd;
$custom-light: #9796dd;
$custom-dark: #000000;
JSON
{
  "hex": "#646dcd",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 234.857,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.14614,
    "h": 276.7
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#646DCD
secondary
#DBD7B2
accent
#CF4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646DCD

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

Preview Lab → · Contrast checker → · Palette generator →

#646DCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva