#646EB2#646EB2

#646EB2 is a mid, moderate blue. Relative luminance 0.171; OKLCH L 56.0% C 0.106 H 276.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#646EB2
RGBrgb(100, 110, 178)
HSLhsl(232, 34%, 55%)
HSVhsv(232, 44%, 70%)
CMYKcmyk(43.8%, 38.2%, 0%, 30.2%)
CIE-LABlab(48.35, 14.27, -37.37)
CIE-LCHlch(48.35, 40.00, 290.90°)
OKLaboklab(56.01% 0.0112 -0.1052)
OKLCHoklch(56.01% 0.106 276.1)
XYZxyz(18.8649, 17.0746, 44.4126)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EB2 #B2A864
analogous
#6495B2 #646EB2 #8164B2
triadic
#646EB2 #B2646E #6EB264
tetradic
#646EB2 #B26495 #B2A864 #64B281
square
#646EB2 #B26495 #B2A864 #64B281
split-complementary
#646EB2 #B28164 #95B264
monochromatic
#343A68 #485191 #646EB2 #8D94C6 #B6BBDB

Accessibility & contrast

On white

4.76
#646EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#646EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646EB2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EB2#FFFFFF#000000##FFFFFF
##646EB21.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#4A7C87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646eb2;
/* rgb */ color: rgb(100, 110, 178);
/* oklch */ color: oklch(56.0% 0.106 276.1);
Tailwind
colors: {
  custom: {
    50: '#9497c9',
    500: '#646eb2',
    950: '#000000',
  },
}
SCSS
$custom: #646eb2;
$custom-light: #9497c9;
$custom-dark: #000000;
JSON
{
  "hex": "#646eb2",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 232.308,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.10581,
    "h": 276.1
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#646EB2
secondary
#C9C5A8
accent
#BC5ECA
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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