#646FCF#646FCF

#646FCF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.146 H 275.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#646FCF
RGBrgb(100, 111, 207)
HSLhsl(234, 53%, 60%)
HSVhsv(234, 52%, 81%)
CMYKcmyk(51.7%, 46.4%, 0%, 18.8%)
CIE-LABlab(50.19, 22.60, -51.14)
CIE-LCHlch(50.19, 55.91, 293.84°)
OKLaboklab(57.93% 0.0151 -0.1455)
OKLCHoklch(57.93% 0.146 275.9)
XYZxyz(22.1989, 18.5818, 61.4363)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FCF #CFC464
analogous
#64A4CF #646FCF #8F64CF
triadic
#646FCF #CF646F #6FCF64
tetradic
#646FCF #CF64A4 #CFC464 #64CF8F
square
#646FCF #CF64A4 #CFC464 #64CF8F
split-complementary
#646FCF #CF8F64 #A4CF64
monochromatic
#2C368D #3A47BC #646FCF #939ADD #C1C6EC

Accessibility & contrast

On white

4.45
#646FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#646FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FCF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FCF#FFFFFF#000000##000000
##646FCF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#368495
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646fcf;
/* rgb */ color: rgb(100, 111, 207);
/* oklch */ color: oklch(57.9% 0.146 275.9);
Tailwind
colors: {
  custom: {
    50: '#9798de',
    500: '#646fcf',
    950: '#000000',
  },
}
SCSS
$custom: #646fcf;
$custom-light: #9798de;
$custom-dark: #000000;
JSON
{
  "hex": "#646fcf",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 233.832,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.14627,
    "h": 275.9
  },
  "luminance": 0.18583
}

Semantic roles & 50–950 ramp

primary
#646FCF
secondary
#DCD8B3
accent
#B025C0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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