#646EC2#646EC2

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

Color values

HEX#646EC2
RGBrgb(100, 110, 194)
HSLhsl(234, 44%, 58%)
HSVhsv(234, 48%, 76%)
CMYKcmyk(48.5%, 43.3%, 0%, 23.9%)
CIE-LABlab(49.20, 19.15, -45.28)
CIE-LCHlch(49.20, 49.17, 292.92°)
OKLaboklab(56.93% 0.0143 -0.1283)
OKLCHoklch(56.93% 0.129 276.4)
XYZxyz(20.5660, 17.7551, 53.3719)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EC2 #C2B864
analogous
#649DC2 #646EC2 #8964C2
triadic
#646EC2 #C2646E #6EC264
tetradic
#646EC2 #C2649D #C2B864 #64C289
square
#646EC2 #C2649D #C2B864 #64C289
split-complementary
#646EC2 #C28964 #9DC264
monochromatic
#30387B #424DA7 #646EC2 #9097D3 #BCC0E5

Accessibility & contrast

On white

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

On black

4.55
#646EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646EC2#FFFFFF#000000##FFFFFF
##646EC21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#40808E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ec2;
/* rgb */ color: rgb(100, 110, 194);
/* oklch */ color: oklch(56.9% 0.129 276.4);
Tailwind
colors: {
  custom: {
    50: '#9597d5',
    500: '#646ec2',
    950: '#000000',
  },
}
SCSS
$custom: #646ec2;
$custom-light: #9597d5;
$custom-dark: #000000;
JSON
{
  "hex": "#646ec2",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 233.617,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.12913,
    "h": 276.4
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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