#646CDA#646CDA

#646CDA is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.1% C 0.166 H 276.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#646CDA
RGBrgb(100, 108, 218)
HSLhsl(236, 61%, 62%)
HSVhsv(236, 54%, 85%)
CMYKcmyk(54.1%, 50.5%, 0%, 14.5%)
CIE-LABlab(50.09, 27.91, -57.56)
CIE-LCHlch(50.09, 63.97, 295.87°)
OKLaboklab(58.06% 0.0196 -0.1644)
OKLCHoklch(58.06% 0.166 276.8)
XYZxyz(23.2690, 18.4949, 68.6598)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CDA #DAD264
analogous
#64A7DA #646CDA #9764DA
triadic
#646CDA #DA646C #6CDA64
tetradic
#646CDA #DA64A7 #DAD264 #64DA97
square
#646CDA #DA64A7 #DAD264 #64DA97
split-complementary
#646CDA #DA9764 #A7DA64
monochromatic
#262E9E #333DCE #646CDA #959BE6 #C7CAF2

Accessibility & contrast

On white

4.47
#646CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#646CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CDA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CDA#FFFFFF#000000##000000
##646CDA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDE
Deuteranopia (green-blind)
#2272D8
Tritanopia (blue-blind)
#2A8599
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646cda;
/* rgb */ color: rgb(100, 108, 218);
/* oklch */ color: oklch(58.1% 0.166 276.8);
Tailwind
colors: {
  custom: {
    50: '#9996e6',
    500: '#646cda',
    950: '#000000',
  },
}
SCSS
$custom: #646cda;
$custom-light: #9996e6;
$custom-dark: #000000;
JSON
{
  "hex": "#646cda",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 235.932,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58061,
    "c": 0.16553,
    "h": 276.8
  },
  "luminance": 0.18496
}

Semantic roles & 50–950 ramp

primary
#646CDA
secondary
#E2E0B7
accent
#BD1CC9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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