#646FB7#646FB7

#646FB7 is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.5% C 0.112 H 275.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#646FB7
RGBrgb(100, 111, 183)
HSLhsl(232, 37%, 55%)
HSVhsv(232, 45%, 72%)
CMYKcmyk(45.4%, 39.3%, 0%, 28.2%)
CIE-LABlab(48.88, 15.17, -39.44)
CIE-LCHlch(48.88, 42.26, 291.03°)
OKLaboklab(56.5% 0.011 -0.1112)
OKLCHoklch(56.5% 0.112 275.6)
XYZxyz(19.4846, 17.4961, 47.1410)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FB7 #B7AC64
analogous
#6498B7 #646FB7 #8264B7
triadic
#646FB7 #B7646F #6FB764
tetradic
#646FB7 #B76498 #B7AC64 #64B782
square
#646FB7 #B76498 #B7AC64 #64B782
split-complementary
#646FB7 #B78264 #98B764
monochromatic
#333B6E #465197 #646FB7 #8E96CA #B8BDDE

Accessibility & contrast

On white

4.67
#646FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#646FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646FB7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FB7#FFFFFF#000000##FFFFFF
##646FB71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5478BA
Deuteranopia (green-blind)
#4E71B5
Tritanopia (blue-blind)
#477E8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #646fb7;
/* rgb */ color: rgb(100, 111, 183);
/* oklch */ color: oklch(56.5% 0.112 275.6);
Tailwind
colors: {
  custom: {
    50: '#9498cd',
    500: '#646fb7',
    950: '#000000',
  },
}
SCSS
$custom: #646fb7;
$custom-light: #9498cd;
$custom-dark: #000000;
JSON
{
  "hex": "#646fb7",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 232.048,
    "s": 36.564,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.11178,
    "h": 275.6
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#646FB7
secondary
#CDC8AA
accent
#BE5BCD
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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