#646CC0#646CC0

#646CC0 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.129 H 277.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#646CC0
RGBrgb(100, 108, 192)
HSLhsl(235, 42%, 57%)
HSVhsv(235, 48%, 75%)
CMYKcmyk(47.9%, 43.7%, 0%, 24.7%)
CIE-LABlab(48.56, 19.76, -45.15)
CIE-LCHlch(48.56, 49.28, 293.64°)
OKLaboklab(56.41% 0.0164 -0.1279)
OKLCHoklch(56.41% 0.129 277.3)
XYZxyz(20.1296, 17.2391, 52.1258)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CC0 #C0B864
analogous
#649AC0 #646CC0 #8A64C0
triadic
#646CC0 #C0646C #6CC064
tetradic
#646CC0 #C0649A #C0B864 #64C08A
square
#646CC0 #C0649A #C0B864 #64C08A
split-complementary
#646CC0 #C08A64 #9AC064
monochromatic
#313779 #434BA4 #646CC0 #9095D2 #BBBFE3

Accessibility & contrast

On white

4.72
#646CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#646CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CC0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CC0#FFFFFF#000000##FFFFFF
##646CC01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C3
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#427E8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646cc0;
/* rgb */ color: rgb(100, 108, 192);
/* oklch */ color: oklch(56.4% 0.129 277.3);
Tailwind
colors: {
  custom: {
    50: '#9596d3',
    500: '#646cc0',
    950: '#000000',
  },
}
SCSS
$custom: #646cc0;
$custom-light: #9596d3;
$custom-dark: #000000;
JSON
{
  "hex": "#646cc0",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 192
  },
  "hsl": {
    "h": 234.783,
    "s": 42.202,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.12899,
    "h": 277.3
  },
  "luminance": 0.1724
}

Semantic roles & 50–950 ramp

primary
#646CC0
secondary
#D3CFAD
accent
#C756D2
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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