#646EC3#646EC3

#646EC3 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.0% C 0.131 H 276.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646EC3
RGBrgb(100, 110, 195)
HSLhsl(234, 44%, 58%)
HSVhsv(234, 49%, 76%)
CMYKcmyk(48.7%, 43.6%, 0%, 23.5%)
CIE-LABlab(49.25, 19.46, -45.77)
CIE-LCHlch(49.25, 49.74, 293.03°)
OKLaboklab(56.99% 0.0145 -0.1298)
OKLCHoklch(56.99% 0.131 276.4)
XYZxyz(20.6787, 17.8001, 53.9653)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EC3 #C3B964
analogous
#649EC3 #646EC3 #8964C3
triadic
#646EC3 #C3646E #6EC364
tetradic
#646EC3 #C3649E #C3B964 #64C389
square
#646EC3 #C3649E #C3B964 #64C389
split-complementary
#646EC3 #C38964 #9EC364
monochromatic
#30387C #414CA9 #646EC3 #9097D4 #BCC1E5

Accessibility & contrast

On white

4.61
#646EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#646EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646EC3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EC3#FFFFFF#000000##FFFFFF
##646EC31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C6
Deuteranopia (green-blind)
#4371C1
Tritanopia (blue-blind)
#3F808F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ec3;
/* rgb */ color: rgb(100, 110, 195);
/* oklch */ color: oklch(57.0% 0.131 276.4);
Tailwind
colors: {
  custom: {
    50: '#9697d5',
    500: '#646ec3',
    950: '#000000',
  },
}
SCSS
$custom: #646ec3;
$custom-light: #9697d5;
$custom-dark: #000000;
JSON
{
  "hex": "#646ec3",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 233.684,
    "s": 44.186,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.13057,
    "h": 276.4
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#646EC3
secondary
#D4D0AE
accent
#C654D4
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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