#646FD4#646FD4

#646FD4 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.2% C 0.153 H 275.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#646FD4
RGBrgb(100, 111, 212)
HSLhsl(234, 57%, 61%)
HSVhsv(234, 53%, 83%)
CMYKcmyk(52.8%, 47.6%, 0%, 16.9%)
CIE-LABlab(50.49, 24.18, -53.51)
CIE-LCHlch(50.49, 58.72, 294.31°)
OKLaboklab(58.24% 0.0157 -0.1525)
OKLCHoklch(58.24% 0.153 275.9)
XYZxyz(22.8199, 18.8302, 64.7067)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FD4 #D4C964
analogous
#64A7D4 #646FD4 #9164D4
triadic
#646FD4 #D4646F #6FD464
tetradic
#646FD4 #D464A7 #D4C964 #64D491
square
#646FD4 #D464A7 #D4C964 #64D491
split-complementary
#646FD4 #D49164 #A7D464
monochromatic
#293494 #3644C4 #646FD4 #949CE1 #C4C8EF

Accessibility & contrast

On white

4.41
#646FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#646FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FD4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FD4#FFFFFF#000000##000000
##646FD41.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#407DD8
Deuteranopia (green-blind)
#3374D2
Tritanopia (blue-blind)
#308597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646fd4;
/* rgb */ color: rgb(100, 111, 212);
/* oklch */ color: oklch(58.2% 0.153 275.9);
Tailwind
colors: {
  custom: {
    50: '#9898e2',
    500: '#646fd4',
    950: '#000000',
  },
}
SCSS
$custom: #646fd4;
$custom-light: #9898e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646fd4",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 234.107,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58244,
    "c": 0.15327,
    "h": 275.9
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#646FD4
secondary
#DFDBB5
accent
#B421C4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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