#646ED5#646ED5

#646ED5 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.156 H 276.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#646ED5
RGBrgb(100, 110, 213)
HSLhsl(235, 57%, 61%)
HSVhsv(235, 53%, 84%)
CMYKcmyk(53.1%, 48.4%, 0%, 16.5%)
CIE-LABlab(50.29, 25.10, -54.40)
CIE-LCHlch(50.29, 59.91, 294.77°)
OKLaboklab(58.11% 0.0169 -0.1551)
OKLCHoklch(58.11% 0.156 276.2)
XYZxyz(22.8379, 18.6638, 65.3369)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ED5 #D5CB64
analogous
#64A7D5 #646ED5 #9364D5
triadic
#646ED5 #D5646E #6ED564
tetradic
#646ED5 #D564A7 #D5CB64 #64D593
square
#646ED5 #D564A7 #D5CB64 #64D593
split-complementary
#646ED5 #D59364 #A7D564
monochromatic
#293296 #3642C6 #646ED5 #949BE2 #C4C8EF

Accessibility & contrast

On white

4.44
#646ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#646ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646ED5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ED5#FFFFFF#000000##000000
##646ED51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD9
Deuteranopia (green-blind)
#3073D3
Tritanopia (blue-blind)
#308597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ed5;
/* rgb */ color: rgb(100, 110, 213);
/* oklch */ color: oklch(58.1% 0.156 276.2);
Tailwind
colors: {
  custom: {
    50: '#9897e2',
    500: '#646ed5',
    950: '#000000',
  },
}
SCSS
$custom: #646ed5;
$custom-light: #9897e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646ed5",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 213
  },
  "hsl": {
    "h": 234.69,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58114,
    "c": 0.15599,
    "h": 276.2
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#646ED5
secondary
#E0DCB5
accent
#B621C5
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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