#646DCB#646DCB

#646DCB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.3% C 0.143 H 276.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#646DCB
RGBrgb(100, 109, 203)
HSLhsl(235, 50%, 59%)
HSVhsv(235, 51%, 80%)
CMYKcmyk(50.7%, 46.3%, 0%, 20.4%)
CIE-LABlab(49.44, 22.57, -50.05)
CIE-LCHlch(49.44, 54.91, 294.27°)
OKLaboklab(57.28% 0.0169 -0.1423)
OKLCHoklch(57.28% 0.143 276.8)
XYZxyz(21.5003, 17.9571, 58.8215)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DCB #CBC264
analogous
#64A1CB #646DCB #8F64CB
triadic
#646DCB #CB646D #6DCB64
tetradic
#646DCB #CB64A1 #CBC264 #64CB8F
square
#646DCB #CB64A1 #CBC264 #64CB8F
split-complementary
#646DCB #CB8F64 #A1CB64
monochromatic
#2D3587 #3D47B5 #646DCB #9298DA #C0C3EA

Accessibility & contrast

On white

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

On black

4.59
#646DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DCB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DCB#FFFFFF#000000##000000
##646DCB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#398192
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646dcb;
/* rgb */ color: rgb(100, 109, 203);
/* oklch */ color: oklch(57.3% 0.143 276.8);
Tailwind
colors: {
  custom: {
    50: '#9796db',
    500: '#646dcb',
    950: '#000000',
  },
}
SCSS
$custom: #646dcb;
$custom-light: #9796db;
$custom-dark: #000000;
JSON
{
  "hex": "#646dcb",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 203
  },
  "hsl": {
    "h": 234.757,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57282,
    "c": 0.14332,
    "h": 276.8
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#646DCB
secondary
#D9D6B1
accent
#CD4FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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