#646CB0#646CB0

#646CB0 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.5% C 0.106 H 277.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#646CB0
RGBrgb(100, 108, 176)
HSLhsl(234, 32%, 54%)
HSVhsv(234, 43%, 69%)
CMYKcmyk(43.2%, 38.6%, 0%, 31%)
CIE-LABlab(47.71, 14.90, -37.22)
CIE-LCHlch(47.71, 40.09, 291.82°)
OKLaboklab(55.48% 0.0134 -0.1048)
OKLCHoklch(55.48% 0.106 277.3)
XYZxyz(18.4522, 16.5682, 43.2916)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CB0 #B0A864
analogous
#6492B0 #646CB0 #8264B0
triadic
#646CB0 #B0646C #6CB064
tetradic
#646CB0 #B06492 #B0A864 #64B082
square
#646CB0 #B06492 #B0A864 #64B082
split-complementary
#646CB0 #B08264 #92B064
monochromatic
#343966 #49508E #646CB0 #8D92C5 #B5B9D9

Accessibility & contrast

On white

4.87
#646CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#646CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CB0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CB0#FFFFFF#000000##FFFFFF
##646CB01.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B3
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#4B7A85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646cb0;
/* rgb */ color: rgb(100, 108, 176);
/* oklch */ color: oklch(55.5% 0.106 277.3);
Tailwind
colors: {
  custom: {
    50: '#9496c8',
    500: '#646cb0',
    950: '#000000',
  },
}
SCSS
$custom: #646cb0;
$custom-light: #9496c8;
$custom-dark: #000000;
JSON
{
  "hex": "#646cb0",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 176
  },
  "hsl": {
    "h": 233.684,
    "s": 32.479,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.10563,
    "h": 277.3
  },
  "luminance": 0.16569
}

Semantic roles & 50–950 ramp

primary
#646CB0
secondary
#C8C5A8
accent
#BE5FC9
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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