#646DC5#646DC5

#646DC5 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.135 H 276.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#646DC5
RGBrgb(100, 109, 197)
HSLhsl(234, 46%, 58%)
HSVhsv(234, 49%, 77%)
CMYKcmyk(49.2%, 44.7%, 0%, 22.7%)
CIE-LABlab(49.10, 20.69, -47.16)
CIE-LCHlch(49.10, 51.50, 293.69°)
OKLaboklab(56.91% 0.016 -0.1338)
OKLCHoklch(56.91% 0.135 276.8)
XYZxyz(20.7991, 17.6766, 55.1285)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DC5 #C5BC64
analogous
#649DC5 #646DC5 #8B64C5
triadic
#646DC5 #C5646D #6DC564
tetradic
#646DC5 #C5649D #C5BC64 #64C58B
square
#646DC5 #C5649D #C5BC64 #64C58B
split-complementary
#646DC5 #C58B64 #9DC564
monochromatic
#30377F #404AAC #646DC5 #9197D6 #BDC1E6

Accessibility & contrast

On white

4.63
#646DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#646DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646DC5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DC5#FFFFFF#000000##FFFFFF
##646DC51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#4071C3
Tritanopia (blue-blind)
#3E808F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646dc5;
/* rgb */ color: rgb(100, 109, 197);
/* oklch */ color: oklch(56.9% 0.135 276.8);
Tailwind
colors: {
  custom: {
    50: '#9696d7',
    500: '#646dc5',
    950: '#000000',
  },
}
SCSS
$custom: #646dc5;
$custom-light: #9696d7;
$custom-dark: #000000;
JSON
{
  "hex": "#646dc5",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 234.433,
    "s": 45.54,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.13478,
    "h": 276.8
  },
  "luminance": 0.17678
}

Semantic roles & 50–950 ramp

primary
#646DC5
secondary
#D6D2AF
accent
#C953D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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