#646FC5#646FC5

#646FC5 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.132 H 275.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#646FC5
RGBrgb(100, 111, 197)
HSLhsl(233, 46%, 58%)
HSVhsv(233, 49%, 77%)
CMYKcmyk(49.2%, 43.7%, 0%, 22.7%)
CIE-LABlab(49.63, 19.47, -46.32)
CIE-LCHlch(49.63, 50.25, 292.79°)
OKLaboklab(57.31% 0.0136 -0.1314)
OKLCHoklch(57.31% 0.132 275.9)
XYZxyz(21.0149, 18.1082, 55.2004)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FC5 #C5BA64
analogous
#649FC5 #646FC5 #8964C5
triadic
#646FC5 #C5646F #6FC564
tetradic
#646FC5 #C5649F #C5BA64 #64C589
square
#646FC5 #C5649F #C5BA64 #64C589
split-complementary
#646FC5 #C58964 #9FC564
monochromatic
#30397F #404CAC #646FC5 #9198D6 #BDC2E6

Accessibility & contrast

On white

4.54
#646FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#646FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FC5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FC5#FFFFFF#000000##000000
##646FC51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7AC8
Deuteranopia (green-blind)
#4372C3
Tritanopia (blue-blind)
#3E8190
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646fc5;
/* rgb */ color: rgb(100, 111, 197);
/* oklch */ color: oklch(57.3% 0.132 275.9);
Tailwind
colors: {
  custom: {
    50: '#9698d7',
    500: '#646fc5',
    950: '#000000',
  },
}
SCSS
$custom: #646fc5;
$custom-light: #9698d7;
$custom-dark: #000000;
JSON
{
  "hex": "#646fc5",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 197
  },
  "hsl": {
    "h": 233.196,
    "s": 45.54,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.13207,
    "h": 275.9
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#646FC5
secondary
#D6D1AF
accent
#C653D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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