#646ECD#646ECD

#646ECD is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.6% C 0.145 H 276.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#646ECD
RGBrgb(100, 110, 205)
HSLhsl(234, 51%, 60%)
HSVhsv(234, 51%, 80%)
CMYKcmyk(51.2%, 46.3%, 0%, 19.6%)
CIE-LABlab(49.82, 22.58, -50.60)
CIE-LCHlch(49.82, 55.41, 294.05°)
OKLaboklab(57.6% 0.016 -0.1439)
OKLCHoklch(57.6% 0.145 276.3)
XYZxyz(21.8474, 18.2676, 60.1205)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ECD #CDC364
analogous
#64A2CD #646ECD #8F64CD
triadic
#646ECD #CD646E #6ECD64
tetradic
#646ECD #CD64A2 #CDC364 #64CD8F
square
#646ECD #CD64A2 #CDC364 #64CD8F
split-complementary
#646ECD #CD8F64 #A2CD64
monochromatic
#2D358A #3B47B8 #646ECD #9299DC #C1C5EB

Accessibility & contrast

On white

4.51
#646ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#646ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646ECD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ECD#FFFFFF#000000##000000
##646ECD1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#3A72CB
Tritanopia (blue-blind)
#388393
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646ecd;
/* rgb */ color: rgb(100, 110, 205);
/* oklch */ color: oklch(57.6% 0.145 276.3);
Tailwind
colors: {
  custom: {
    50: '#9797dd',
    500: '#646ecd',
    950: '#000000',
  },
}
SCSS
$custom: #646ecd;
$custom-light: #9797dd;
$custom-dark: #000000;
JSON
{
  "hex": "#646ecd",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 234.286,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.14479,
    "h": 276.3
  },
  "luminance": 0.18269
}

Semantic roles & 50–950 ramp

primary
#646ECD
secondary
#DBD7B2
accent
#CD4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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