#646ED1#646ED1

#646ED1 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.9% C 0.150 H 276.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#646ED1
RGBrgb(100, 110, 209)
HSLhsl(234, 54%, 61%)
HSVhsv(234, 52%, 82%)
CMYKcmyk(52.2%, 47.4%, 0%, 18%)
CIE-LABlab(50.05, 23.84, -52.50)
CIE-LCHlch(50.05, 57.66, 294.42°)
OKLaboklab(57.86% 0.0165 -0.1495)
OKLCHoklch(57.86% 0.15 276.3)
XYZxyz(22.3364, 18.4632, 62.6960)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ED1 #D1C764
analogous
#64A5D1 #646ED1 #9064D1
triadic
#646ED1 #D1646E #6ED164
tetradic
#646ED1 #D164A5 #D1C764 #64D190
square
#646ED1 #D164A5 #D1C764 #64D190
split-complementary
#646ED1 #D19064 #A5D164
monochromatic
#2B3490 #3945BF #646ED1 #939ADF #C2C6ED

Accessibility & contrast

On white

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

On black

4.69
#646ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646ED1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ED1#FFFFFF#000000##000000
##646ED11.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD5
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#348495
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646ed1;
/* rgb */ color: rgb(100, 110, 209);
/* oklch */ color: oklch(57.9% 0.150 276.3);
Tailwind
colors: {
  custom: {
    50: '#9797e0',
    500: '#646ed1',
    950: '#000000',
  },
}
SCSS
$custom: #646ed1;
$custom-light: #9797e0;
$custom-dark: #000000;
JSON
{
  "hex": "#646ed1",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 209
  },
  "hsl": {
    "h": 234.495,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57857,
    "c": 0.15042,
    "h": 276.3
  },
  "luminance": 0.18465
}

Semantic roles & 50–950 ramp

primary
#646ED1
secondary
#DDD9B4
accent
#B324C2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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