#646BD2#646BD2

#646BD2 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.3% C 0.156 H 277.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#646BD2
RGBrgb(100, 107, 210)
HSLhsl(236, 55%, 61%)
HSVhsv(236, 52%, 82%)
CMYKcmyk(52.4%, 49%, 0%, 17.6%)
CIE-LABlab(49.35, 25.99, -54.21)
CIE-LCHlch(49.35, 60.12, 295.62°)
OKLaboklab(57.34% 0.02 -0.1545)
OKLCHoklch(57.34% 0.156 277.4)
XYZxyz(22.1424, 17.8765, 63.2440)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BD2 #D2CB64
analogous
#64A2D2 #646BD2 #9464D2
triadic
#646BD2 #D2646B #6BD264
tetradic
#646BD2 #D264A2 #D2CB64 #64D294
square
#646BD2 #D264A2 #D2CB64 #64D294
split-complementary
#646BD2 #D29464 #A2D264
monochromatic
#2A3191 #3841C1 #646BD2 #9398E0 #C3C6EE

Accessibility & contrast

On white

4.59
#646BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#646BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646BD2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BD2#FFFFFF#000000##FFFFFF
##646BD21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#2D71D0
Tritanopia (blue-blind)
#338294
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646bd2;
/* rgb */ color: rgb(100, 107, 210);
/* oklch */ color: oklch(57.3% 0.156 277.4);
Tailwind
colors: {
  custom: {
    50: '#9895e0',
    500: '#646bd2',
    950: '#000000',
  },
}
SCSS
$custom: #646bd2;
$custom-light: #9895e0;
$custom-dark: #000000;
JSON
{
  "hex": "#646bd2",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 236.182,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.15581,
    "h": 277.4
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#646BD2
secondary
#DEDBB4
accent
#B823C3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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