#646EC5#646EC5

#646EC5 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.1% C 0.133 H 276.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#646EC5
RGBrgb(100, 110, 197)
HSLhsl(234, 46%, 58%)
HSVhsv(234, 49%, 77%)
CMYKcmyk(49.2%, 44.2%, 0%, 22.7%)
CIE-LABlab(49.36, 20.08, -46.74)
CIE-LCHlch(49.36, 50.87, 293.25°)
OKLaboklab(57.11% 0.0148 -0.1326)
OKLCHoklch(57.11% 0.133 276.4)
XYZxyz(20.9064, 17.8912, 55.1642)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EC5 #C5BB64
analogous
#649FC5 #646EC5 #8A64C5
triadic
#646EC5 #C5646E #6EC564
tetradic
#646EC5 #C5649F #C5BB64 #64C58A
square
#646EC5 #C5649F #C5BB64 #64C58A
split-complementary
#646EC5 #C58A64 #9FC564
monochromatic
#30387F #404BAC #646EC5 #9198D6 #BDC1E6

Accessibility & contrast

On white

4.59
#646EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#646EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646EC5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EC5#FFFFFF#000000##FFFFFF
##646EC51.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C8
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#3E8090
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ec5;
/* rgb */ color: rgb(100, 110, 197);
/* oklch */ color: oklch(57.1% 0.133 276.4);
Tailwind
colors: {
  custom: {
    50: '#9697d7',
    500: '#646ec5',
    950: '#000000',
  },
}
SCSS
$custom: #646ec5;
$custom-light: #9697d7;
$custom-dark: #000000;
JSON
{
  "hex": "#646ec5",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 233.814,
    "s": 45.54,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.13342,
    "h": 276.4
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#646EC5
secondary
#D6D2AF
accent
#C853D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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