#646CD4#646CD4

#646CD4 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.7% C 0.157 H 277.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#646CD4
RGBrgb(100, 108, 212)
HSLhsl(236, 57%, 61%)
HSVhsv(236, 53%, 83%)
CMYKcmyk(52.8%, 49.1%, 0%, 16.9%)
CIE-LABlab(49.72, 26.01, -54.74)
CIE-LCHlch(49.72, 60.61, 295.42°)
OKLaboklab(57.66% 0.0191 -0.1561)
OKLCHoklch(57.66% 0.157 277)
XYZxyz(22.4980, 18.1865, 64.5994)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CD4 #D4CC64
analogous
#64A4D4 #646CD4 #9464D4
triadic
#646CD4 #D4646C #6CD464
tetradic
#646CD4 #D464A4 #D4CC64 #64D494
square
#646CD4 #D464A4 #D4CC64 #64D494
split-complementary
#646CD4 #D49464 #A4D464
monochromatic
#293194 #3641C4 #646CD4 #9499E1 #C4C7EF

Accessibility & contrast

On white

4.53
#646CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#646CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CD4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CD4#FFFFFF#000000##000000
##646CD41.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD8
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#318396
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646cd4;
/* rgb */ color: rgb(100, 108, 212);
/* oklch */ color: oklch(57.7% 0.157 277.0);
Tailwind
colors: {
  custom: {
    50: '#9896e2',
    500: '#646cd4',
    950: '#000000',
  },
}
SCSS
$custom: #646cd4;
$custom-light: #9896e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646cd4",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 235.714,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.15726,
    "h": 277
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#646CD4
secondary
#DFDCB5
accent
#B821C4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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