#646EBA#646EBA

#646EBA is a mid, moderate blue. Relative luminance 0.174; OKLCH L 56.5% C 0.118 H 276.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#646EBA
RGBrgb(100, 110, 186)
HSLhsl(233, 38%, 56%)
HSVhsv(233, 46%, 73%)
CMYKcmyk(46.2%, 40.9%, 0%, 27.1%)
CIE-LABlab(48.77, 16.69, -41.35)
CIE-LCHlch(48.77, 44.60, 291.98°)
OKLaboklab(56.46% 0.0129 -0.1168)
OKLCHoklch(56.46% 0.118 276.3)
XYZxyz(19.6917, 17.4053, 48.7668)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EBA #BAB064
analogous
#6499BA #646EBA #8564BA
triadic
#646EBA #BA646E #6EBA64
tetradic
#646EBA #BA6499 #BAB064 #64BA85
square
#646EBA #BA6499 #BAB064 #64BA85
split-complementary
#646EBA #BA8564 #99BA64
monochromatic
#323A71 #454F9C #646EBA #8E96CD #B9BDE0

Accessibility & contrast

On white

4.69
#646EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#646EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646EBA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EBA#FFFFFF#000000##FFFFFF
##646EBA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#4A71B8
Tritanopia (blue-blind)
#457E8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #646eba;
/* rgb */ color: rgb(100, 110, 186);
/* oklch */ color: oklch(56.5% 0.118 276.3);
Tailwind
colors: {
  custom: {
    50: '#9597cf',
    500: '#646eba',
    950: '#000000',
  },
}
SCSS
$custom: #646eba;
$custom-light: #9597cf;
$custom-dark: #000000;
JSON
{
  "hex": "#646eba",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 233.023,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.11755,
    "h": 276.3
  },
  "luminance": 0.17406
}

Semantic roles & 50–950 ramp

primary
#646EBA
secondary
#CFCBAB
accent
#C159CE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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