#646DD4#646DD4

#646DD4 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.9% C 0.156 H 276.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#646DD4
RGBrgb(100, 109, 212)
HSLhsl(235, 57%, 61%)
HSVhsv(235, 53%, 83%)
CMYKcmyk(52.8%, 48.6%, 0%, 16.9%)
CIE-LABlab(49.98, 25.40, -54.33)
CIE-LCHlch(49.98, 59.98, 295.06°)
OKLaboklab(57.86% 0.0179 -0.1549)
OKLCHoklch(57.86% 0.156 276.6)
XYZxyz(22.6041, 18.3986, 64.6348)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DD4 #D4CB64
analogous
#64A5D4 #646DD4 #9364D4
triadic
#646DD4 #D4646D #6DD464
tetradic
#646DD4 #D464A5 #D4CB64 #64D493
square
#646DD4 #D464A5 #D4CB64 #64D493
split-complementary
#646DD4 #D49364 #A5D464
monochromatic
#293294 #3642C4 #646DD4 #949AE1 #C4C7EF

Accessibility & contrast

On white

4.49
#646DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#646DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DD4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DD4#FFFFFF#000000##000000
##646DD41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD8
Deuteranopia (green-blind)
#2F72D2
Tritanopia (blue-blind)
#318496
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646dd4;
/* rgb */ color: rgb(100, 109, 212);
/* oklch */ color: oklch(57.9% 0.156 276.6);
Tailwind
colors: {
  custom: {
    50: '#9896e2',
    500: '#646dd4',
    950: '#000000',
  },
}
SCSS
$custom: #646dd4;
$custom-light: #9896e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646dd4",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 212
  },
  "hsl": {
    "h": 235.179,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.15593,
    "h": 276.6
  },
  "luminance": 0.184
}

Semantic roles & 50–950 ramp

primary
#646DD4
secondary
#DFDCB5
accent
#B721C4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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