#646CCB#646CCB

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

Color values

HEX#646CCB
RGBrgb(100, 108, 203)
HSLhsl(235, 50%, 59%)
HSVhsv(235, 51%, 80%)
CMYKcmyk(50.7%, 46.8%, 0%, 20.4%)
CIE-LABlab(49.19, 23.18, -50.47)
CIE-LCHlch(49.19, 55.54, 294.67°)
OKLaboklab(57.09% 0.018 -0.1435)
OKLCHoklch(57.09% 0.145 277.2)
XYZxyz(21.3942, 17.7450, 58.7861)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CCB #CBC364
analogous
#64A0CB #646CCB #9064CB
triadic
#646CCB #CB646C #6CCB64
tetradic
#646CCB #CB64A0 #CBC364 #64CB90
square
#646CCB #CB64A0 #CBC364 #64CB90
split-complementary
#646CCB #CB9064 #A0CB64
monochromatic
#2D3487 #3D46B5 #646CCB #9297DA #C0C3EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646CCB#FFFFFF#000000##FFFFFF
##646CCB1.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)
#4279CE
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#3A8192
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ccb;
/* rgb */ color: rgb(100, 108, 203);
/* oklch */ color: oklch(57.1% 0.145 277.2);
Tailwind
colors: {
  custom: {
    50: '#9796db',
    500: '#646ccb',
    950: '#000000',
  },
}
SCSS
$custom: #646ccb;
$custom-light: #9796db;
$custom-dark: #000000;
JSON
{
  "hex": "#646ccb",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 235.34,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.14467,
    "h": 277.2
  },
  "luminance": 0.17746
}

Semantic roles & 50–950 ramp

primary
#646CCB
secondary
#D9D6B1
accent
#CF4FD9
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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