#646FBF#646FBF

#646FBF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.0% C 0.123 H 275.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#646FBF
RGBrgb(100, 111, 191)
HSLhsl(233, 42%, 57%)
HSVhsv(233, 48%, 75%)
CMYKcmyk(47.6%, 41.9%, 0%, 25.1%)
CIE-LABlab(49.30, 17.61, -43.39)
CIE-LCHlch(49.30, 46.83, 292.09°)
OKLaboklab(56.96% 0.0126 -0.1228)
OKLCHoklch(56.96% 0.123 275.8)
XYZxyz(20.3410, 17.8387, 51.6515)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FBF #BFB464
analogous
#649DBF #646FBF #8664BF
triadic
#646FBF #BF646F #6FBF64
tetradic
#646FBF #BF649D #BFB464 #64BF86
square
#646FBF #BF649D #BFB464 #64BF86
split-complementary
#646FBF #BF8664 #9DBF64
monochromatic
#313A77 #434FA3 #646FBF #8F97D1 #BBBFE3

Accessibility & contrast

On white

4.60
#646FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#646FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646FBF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FBF#FFFFFF#000000##FFFFFF
##646FBF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#42808E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646fbf;
/* rgb */ color: rgb(100, 111, 191);
/* oklch */ color: oklch(57.0% 0.123 275.8);
Tailwind
colors: {
  custom: {
    50: '#9598d3',
    500: '#646fbf',
    950: '#000000',
  },
}
SCSS
$custom: #646fbf;
$custom-light: #9598d3;
$custom-dark: #000000;
JSON
{
  "hex": "#646fbf",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 232.747,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.12343,
    "h": 275.8
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#646FBF
secondary
#D2CDAD
accent
#C356D1
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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