#646FCB#646FCB

#646FCB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.141 H 275.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#646FCB
RGBrgb(100, 111, 203)
HSLhsl(234, 50%, 59%)
HSVhsv(234, 51%, 80%)
CMYKcmyk(50.7%, 45.3%, 0%, 20.4%)
CIE-LABlab(49.96, 21.34, -49.22)
CIE-LCHlch(49.96, 53.65, 293.44°)
OKLaboklab(57.68% 0.0145 -0.1399)
OKLCHoklch(57.68% 0.141 275.9)
XYZxyz(21.7161, 18.3887, 58.8934)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FCB #CBC064
analogous
#64A3CB #646FCB #8D64CB
triadic
#646FCB #CB646F #6FCB64
tetradic
#646FCB #CB64A3 #CBC064 #64CB8D
square
#646FCB #CB64A3 #CBC064 #64CB8D
split-complementary
#646FCB #CB8D64 #A3CB64
monochromatic
#2D3787 #3D4AB5 #646FCB #929ADA #C0C4EA

Accessibility & contrast

On white

4.49
#646FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#646FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FCB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FCB#FFFFFF#000000##000000
##646FCB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#398393
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646fcb;
/* rgb */ color: rgb(100, 111, 203);
/* oklch */ color: oklch(57.7% 0.141 275.9);
Tailwind
colors: {
  custom: {
    50: '#9798db',
    500: '#646fcb',
    950: '#000000',
  },
}
SCSS
$custom: #646fcb;
$custom-light: #9798db;
$custom-dark: #000000;
JSON
{
  "hex": "#646fcb",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 233.592,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.14062,
    "h": 275.9
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

primary
#646FCB
secondary
#D9D5B1
accent
#CA4FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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