#646CDF#646CDF

#646CDF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.4% C 0.172 H 276.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#646CDF
RGBrgb(100, 108, 223)
HSLhsl(236, 66%, 63%)
HSVhsv(236, 55%, 87%)
CMYKcmyk(55.2%, 51.6%, 0%, 12.5%)
CIE-LABlab(50.41, 29.50, -59.88)
CIE-LCHlch(50.41, 66.75, 296.23°)
OKLaboklab(58.4% 0.02 -0.1712)
OKLCHoklch(58.4% 0.172 276.7)
XYZxyz(23.9331, 18.7605, 72.1577)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CDF #DFD764
analogous
#64A9DF #646CDF #9A64DF
triadic
#646CDF #DF646C #6CDF64
tetradic
#646CDF #DF64A9 #DFD764 #64DF9A
square
#646CDF #DF64A9 #DFD764 #64DF9A
split-complementary
#646CDF #DF9A64 #A9DF64
monochromatic
#222BA6 #313CD5 #646CDF #979CE9 #C9CCF4

Accessibility & contrast

On white

4.42
#646CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#646CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CDF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CDF#FFFFFF#000000##000000
##646CDF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7DE3
Deuteranopia (green-blind)
#1573DD
Tritanopia (blue-blind)
#23869B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646cdf;
/* rgb */ color: rgb(100, 108, 223);
/* oklch */ color: oklch(58.4% 0.172 276.7);
Tailwind
colors: {
  custom: {
    50: '#9996ea',
    500: '#646cdf',
    950: '#000000',
  },
}
SCSS
$custom: #646cdf;
$custom-light: #9996ea;
$custom-dark: #000000;
JSON
{
  "hex": "#646cdf",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 236.098,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.17236,
    "h": 276.7
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#646CDF
secondary
#E5E2B9
accent
#C218CE
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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