#646EC0#646EC0

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

Color values

HEX#646EC0
RGBrgb(100, 110, 192)
HSLhsl(233, 42%, 57%)
HSVhsv(233, 48%, 75%)
CMYKcmyk(47.9%, 42.7%, 0%, 24.7%)
CIE-LABlab(49.09, 18.53, -44.31)
CIE-LCHlch(49.09, 48.03, 292.70°)
OKLaboklab(56.81% 0.014 -0.1255)
OKLCHoklch(56.81% 0.126 276.4)
XYZxyz(20.3429, 17.6658, 52.1969)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EC0 #C0B664
analogous
#649CC0 #646EC0 #8864C0
triadic
#646EC0 #C0646E #6EC064
tetradic
#646EC0 #C0649C #C0B664 #64C088
square
#646EC0 #C0649C #C0B664 #64C088
split-complementary
#646EC0 #C08864 #9CC064
monochromatic
#313979 #434DA4 #646EC0 #9097D2 #BBBFE3

Accessibility & contrast

On white

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

On black

4.53
#646EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646EC0#FFFFFF#000000##FFFFFF
##646EC01.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C3
Deuteranopia (green-blind)
#4671BE
Tritanopia (blue-blind)
#427F8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ec0;
/* rgb */ color: rgb(100, 110, 192);
/* oklch */ color: oklch(56.8% 0.126 276.4);
Tailwind
colors: {
  custom: {
    50: '#9597d3',
    500: '#646ec0',
    950: '#000000',
  },
}
SCSS
$custom: #646ec0;
$custom-light: #9597d3;
$custom-dark: #000000;
JSON
{
  "hex": "#646ec0",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 233.478,
    "s": 42.202,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.12625,
    "h": 276.4
  },
  "luminance": 0.17667
}

Semantic roles & 50–950 ramp

primary
#646EC0
secondary
#D3CEAD
accent
#C456D2
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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