#646BBF#646BBF

#646BBF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.129 H 277.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#646BBF
RGBrgb(100, 107, 191)
HSLhsl(235, 42%, 57%)
HSVhsv(235, 48%, 75%)
CMYKcmyk(47.6%, 44%, 0%, 25.1%)
CIE-LABlab(48.24, 20.07, -45.08)
CIE-LCHlch(48.24, 49.34, 294.00°)
OKLaboklab(56.15% 0.0175 -0.1277)
OKLCHoklch(56.15% 0.129 277.8)
XYZxyz(19.9143, 16.9852, 51.5093)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BBF #BFB864
analogous
#6498BF #646BBF #8B64BF
triadic
#646BBF #BF646B #6BBF64
tetradic
#646BBF #BF6498 #BFB864 #64BF8B
square
#646BBF #BF6498 #BFB864 #64BF8B
split-complementary
#646BBF #BF8B64 #98BF64
monochromatic
#313777 #434BA3 #646BBF #8F94D1 #BBBEE3

Accessibility & contrast

On white

4.78
#646BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#646BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BBF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BBF#FFFFFF#000000##FFFFFF
##646BBF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#437D8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646bbf;
/* rgb */ color: rgb(100, 107, 191);
/* oklch */ color: oklch(56.1% 0.129 277.8);
Tailwind
colors: {
  custom: {
    50: '#9595d3',
    500: '#646bbf',
    950: '#000000',
  },
}
SCSS
$custom: #646bbf;
$custom-light: #9595d3;
$custom-dark: #000000;
JSON
{
  "hex": "#646bbf",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 235.385,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56147,
    "c": 0.12893,
    "h": 277.8
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

primary
#646BBF
secondary
#D2CFAD
accent
#C856D1
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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