#646AD4#646AD4

#646AD4 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.160 H 277.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646AD4
RGBrgb(100, 106, 212)
HSLhsl(237, 57%, 61%)
HSVhsv(237, 53%, 83%)
CMYKcmyk(52.8%, 50%, 0%, 16.9%)
CIE-LABlab(49.22, 27.24, -55.55)
CIE-LCHlch(49.22, 61.87, 296.12°)
OKLaboklab(57.28% 0.0213 -0.1585)
OKLCHoklch(57.28% 0.16 277.6)
XYZxyz(22.2895, 17.7695, 64.5299)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AD4 #D4CE64
analogous
#64A2D4 #646AD4 #9664D4
triadic
#646AD4 #D4646A #6AD464
tetradic
#646AD4 #D464A2 #D4CE64 #64D496
square
#646AD4 #D464A2 #D4CE64 #64D496
split-complementary
#646AD4 #D49664 #A2D464
monochromatic
#292F94 #363EC4 #646AD4 #9498E1 #C4C6EF

Accessibility & contrast

On white

4.61
#646AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#646AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646AD4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AD4#FFFFFF#000000##FFFFFF
##646AD41.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357AD8
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#318195
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ad4;
/* rgb */ color: rgb(100, 106, 212);
/* oklch */ color: oklch(57.3% 0.160 277.6);
Tailwind
colors: {
  custom: {
    50: '#9894e2',
    500: '#646ad4',
    950: '#000000',
  },
}
SCSS
$custom: #646ad4;
$custom-light: #9894e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646ad4",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 212
  },
  "hsl": {
    "h": 236.786,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57282,
    "c": 0.15993,
    "h": 277.6
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#646AD4
secondary
#DFDDB5
accent
#BB21C4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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