#646DCA#646DCA

#646DCA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.2% C 0.142 H 276.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#646DCA
RGBrgb(100, 109, 202)
HSLhsl(235, 49%, 59%)
HSVhsv(235, 50%, 79%)
CMYKcmyk(50.5%, 46%, 0%, 20.8%)
CIE-LABlab(49.39, 22.25, -49.57)
CIE-LCHlch(49.39, 54.34, 294.18°)
OKLaboklab(57.22% 0.0167 -0.1409)
OKLCHoklch(57.22% 0.142 276.8)
XYZxyz(21.3815, 17.9096, 58.1959)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DCA #CAC164
analogous
#64A0CA #646DCA #8E64CA
triadic
#646DCA #CA646D #6DCA64
tetradic
#646DCA #CA64A0 #CAC164 #64CA8E
square
#646DCA #CA64A0 #CAC164 #64CA8E
split-complementary
#646DCA #CA8E64 #A0CA64
monochromatic
#2E3686 #3D48B3 #646DCA #9298DA #BFC3E9

Accessibility & contrast

On white

4.58
#646DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#646DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DCA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DCA#FFFFFF#000000##000000
##646DCA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#3B71C8
Tritanopia (blue-blind)
#3A8192
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646dca;
/* rgb */ color: rgb(100, 109, 202);
/* oklch */ color: oklch(57.2% 0.142 276.8);
Tailwind
colors: {
  custom: {
    50: '#9696db',
    500: '#646dca',
    950: '#000000',
  },
}
SCSS
$custom: #646dca;
$custom-light: #9696db;
$custom-dark: #000000;
JSON
{
  "hex": "#646dca",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 234.706,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57219,
    "c": 0.1419,
    "h": 276.8
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#646DCA
secondary
#D9D5B1
accent
#CC4FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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