#646FD2#646FD2

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

Color values

HEX#646FD2
RGBrgb(100, 111, 210)
HSLhsl(234, 55%, 61%)
HSVhsv(234, 52%, 82%)
CMYKcmyk(52.4%, 47.1%, 0%, 17.6%)
CIE-LABlab(50.37, 23.54, -52.57)
CIE-LCHlch(50.37, 57.60, 294.13°)
OKLaboklab(58.12% 0.0155 -0.1497)
OKLCHoklch(58.12% 0.15 275.9)
XYZxyz(22.5691, 18.7299, 63.3862)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FD2 #D2C764
analogous
#64A6D2 #646FD2 #9064D2
triadic
#646FD2 #D2646F #6FD264
tetradic
#646FD2 #D264A6 #D2C764 #64D290
square
#646FD2 #D264A6 #D2C764 #64D290
split-complementary
#646FD2 #D29064 #A6D264
monochromatic
#2A3591 #3846C1 #646FD2 #939BE0 #C3C7EE

Accessibility & contrast

On white

4.42
#646FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#646FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FD2#FFFFFF#000000##000000
##646FD21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD6
Deuteranopia (green-blind)
#3674D0
Tritanopia (blue-blind)
#338596
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646fd2;
/* rgb */ color: rgb(100, 111, 210);
/* oklch */ color: oklch(58.1% 0.150 275.9);
Tailwind
colors: {
  custom: {
    50: '#9798e0',
    500: '#646fd2',
    950: '#000000',
  },
}
SCSS
$custom: #646fd2;
$custom-light: #9798e0;
$custom-dark: #000000;
JSON
{
  "hex": "#646fd2",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 234,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.15048,
    "h": 275.9
  },
  "luminance": 0.18731
}

Semantic roles & 50–950 ramp

primary
#646FD2
secondary
#DEDAB4
accent
#B323C3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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