#646BD4#646BD4

#646BD4 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.5% C 0.159 H 277.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#646BD4
RGBrgb(100, 107, 212)
HSLhsl(236, 57%, 61%)
HSVhsv(236, 53%, 83%)
CMYKcmyk(52.8%, 49.5%, 0%, 16.9%)
CIE-LABlab(49.47, 26.62, -55.15)
CIE-LCHlch(49.47, 61.24, 295.77°)
OKLaboklab(57.47% 0.0202 -0.1573)
OKLCHoklch(57.47% 0.159 277.3)
XYZxyz(22.3931, 17.9768, 64.5645)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BD4 #D4CD64
analogous
#64A3D4 #646BD4 #9564D4
triadic
#646BD4 #D4646B #6BD464
tetradic
#646BD4 #D464A3 #D4CD64 #64D495
square
#646BD4 #D464A3 #D4CD64 #64D495
split-complementary
#646BD4 #D49564 #A3D464
monochromatic
#293094 #363FC4 #646BD4 #9499E1 #C4C6EF

Accessibility & contrast

On white

4.57
#646BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#646BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BD4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BD4#FFFFFF#000000##000000
##646BD41.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#2A71D2
Tritanopia (blue-blind)
#318295
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646bd4;
/* rgb */ color: rgb(100, 107, 212);
/* oklch */ color: oklch(57.5% 0.159 277.3);
Tailwind
colors: {
  custom: {
    50: '#9895e2',
    500: '#646bd4',
    950: '#000000',
  },
}
SCSS
$custom: #646bd4;
$custom-light: #9895e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646bd4",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 236.25,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.15859,
    "h": 277.3
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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