#646CCD#646CCD

#646CCD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.2% C 0.147 H 277.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#646CCD
RGBrgb(100, 108, 205)
HSLhsl(235, 51%, 60%)
HSVhsv(235, 51%, 80%)
CMYKcmyk(51.2%, 47.3%, 0%, 19.6%)
CIE-LABlab(49.30, 23.81, -51.42)
CIE-LCHlch(49.30, 56.67, 294.84°)
OKLaboklab(57.21% 0.0183 -0.1463)
OKLCHoklch(57.21% 0.147 277.1)
XYZxyz(21.6341, 17.8409, 60.0494)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CCD #CDC564
analogous
#64A0CD #646CCD #9164CD
triadic
#646CCD #CD646C #6CCD64
tetradic
#646CCD #CD64A0 #CDC564 #64CD91
square
#646CCD #CD64A0 #CDC564 #64CD91
split-complementary
#646CCD #CD9164 #A0CD64
monochromatic
#2D348A #3B45B8 #646CCD #9298DC #C1C4EB

Accessibility & contrast

On white

4.60
#646CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#646CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646CCD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CCD#FFFFFF#000000##FFFFFF
##646CCD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#388193
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ccd;
/* rgb */ color: rgb(100, 108, 205);
/* oklch */ color: oklch(57.2% 0.147 277.1);
Tailwind
colors: {
  custom: {
    50: '#9796dd',
    500: '#646ccd',
    950: '#000000',
  },
}
SCSS
$custom: #646ccd;
$custom-light: #9796dd;
$custom-dark: #000000;
JSON
{
  "hex": "#646ccd",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 235.429,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.14749,
    "h": 277.1
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#646CCD
secondary
#DBD8B2
accent
#D04DDB
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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