#646FD1#646FD1

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

Color values

HEX#646FD1
RGBrgb(100, 111, 209)
HSLhsl(234, 54%, 61%)
HSVhsv(234, 52%, 82%)
CMYKcmyk(52.2%, 46.9%, 0%, 18%)
CIE-LABlab(50.31, 23.23, -52.09)
CIE-LCHlch(50.31, 57.04, 294.03°)
OKLaboklab(58.05% 0.0154 -0.1483)
OKLCHoklch(58.05% 0.149 275.9)
XYZxyz(22.4449, 18.6802, 62.7322)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FD1 #D1C664
analogous
#64A5D1 #646FD1 #8F64D1
triadic
#646FD1 #D1646F #6FD164
tetradic
#646FD1 #D164A5 #D1C664 #64D18F
square
#646FD1 #D164A5 #D1C664 #64D18F
split-complementary
#646FD1 #D18F64 #A5D164
monochromatic
#2B3590 #3946BF #646FD1 #939BDF #C2C7ED

Accessibility & contrast

On white

4.43
#646FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#646FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FD1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FD1#FFFFFF#000000##000000
##646FD11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#437CD5
Deuteranopia (green-blind)
#3773CF
Tritanopia (blue-blind)
#348496
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646fd1;
/* rgb */ color: rgb(100, 111, 209);
/* oklch */ color: oklch(58.1% 0.149 275.9);
Tailwind
colors: {
  custom: {
    50: '#9798e0',
    500: '#646fd1',
    950: '#000000',
  },
}
SCSS
$custom: #646fd1;
$custom-light: #9798e0;
$custom-dark: #000000;
JSON
{
  "hex": "#646fd1",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 209
  },
  "hsl": {
    "h": 233.945,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.14908,
    "h": 275.9
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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