#646BCF#646BCF

#646BCF is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.1% C 0.152 H 277.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#646BCF
RGBrgb(100, 107, 207)
HSLhsl(236, 53%, 60%)
HSVhsv(236, 52%, 81%)
CMYKcmyk(51.7%, 48.3%, 0%, 18.8%)
CIE-LABlab(49.16, 25.05, -52.79)
CIE-LCHlch(49.16, 58.43, 295.39°)
OKLaboklab(57.15% 0.0196 -0.1504)
OKLCHoklch(57.15% 0.152 277.4)
XYZxyz(21.7722, 17.7284, 61.2940)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BCF #CFC864
analogous
#64A0CF #646BCF #9364CF
triadic
#646BCF #CF646B #6BCF64
tetradic
#646BCF #CF64A0 #CFC864 #64CF93
square
#646BCF #CF64A0 #CFC864 #64CF93
split-complementary
#646BCF #CF9364 #A0CF64
monochromatic
#2C328D #3A43BC #646BCF #9398DD #C1C4EC

Accessibility & contrast

On white

4.62
#646BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#646BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646BCF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BCF#FFFFFF#000000##FFFFFF
##646BCF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#3171CD
Tritanopia (blue-blind)
#368193
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646bcf;
/* rgb */ color: rgb(100, 107, 207);
/* oklch */ color: oklch(57.1% 0.152 277.4);
Tailwind
colors: {
  custom: {
    50: '#9795de',
    500: '#646bcf',
    950: '#000000',
  },
}
SCSS
$custom: #646bcf;
$custom-light: #9795de;
$custom-dark: #000000;
JSON
{
  "hex": "#646bcf",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 236.075,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.15164,
    "h": 277.4
  },
  "luminance": 0.1773
}

Semantic roles & 50–950 ramp

primary
#646BCF
secondary
#DCD9B3
accent
#B625C0
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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