#646DB2#646DB2

#646DB2 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.8% C 0.107 H 276.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#646DB2
RGBrgb(100, 109, 178)
HSLhsl(233, 34%, 55%)
HSVhsv(233, 44%, 70%)
CMYKcmyk(43.8%, 38.8%, 0%, 30.2%)
CIE-LABlab(48.08, 14.88, -37.80)
CIE-LCHlch(48.08, 40.62, 291.50°)
OKLaboklab(55.8% 0.0125 -0.1065)
OKLCHoklch(55.8% 0.107 276.7)
XYZxyz(18.7576, 16.8600, 44.3768)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DB2 #B2A964
analogous
#6494B2 #646DB2 #8264B2
triadic
#646DB2 #B2646D #6DB264
tetradic
#646DB2 #B26494 #B2A964 #64B282
square
#646DB2 #B26494 #B2A964 #64B282
split-complementary
#646DB2 #B28264 #94B264
monochromatic
#343A68 #485091 #646DB2 #8D94C6 #B6BADB

Accessibility & contrast

On white

4.80
#646DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#646DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646DB2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DB2#FFFFFF#000000##FFFFFF
##646DB21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#4A7B87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646db2;
/* rgb */ color: rgb(100, 109, 178);
/* oklch */ color: oklch(55.8% 0.107 276.7);
Tailwind
colors: {
  custom: {
    50: '#9496c9',
    500: '#646db2',
    950: '#000000',
  },
}
SCSS
$custom: #646db2;
$custom-light: #9496c9;
$custom-dark: #000000;
JSON
{
  "hex": "#646db2",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 233.077,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.10719,
    "h": 276.7
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#646DB2
secondary
#C9C6A8
accent
#BD5ECA
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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