#646DDB#646DDB

#646DDB is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.3% C 0.166 H 276.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#646DDB
RGBrgb(100, 109, 219)
HSLhsl(235, 62%, 63%)
HSVhsv(235, 54%, 86%)
CMYKcmyk(54.3%, 50.2%, 0%, 14.1%)
CIE-LABlab(50.40, 27.62, -57.62)
CIE-LCHlch(50.40, 63.90, 295.61°)
OKLaboklab(58.32% 0.0186 -0.1645)
OKLCHoklch(58.32% 0.166 276.5)
XYZxyz(23.5063, 18.7595, 69.3864)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DDB #DBD264
analogous
#64A9DB #646DDB #9664DB
triadic
#646DDB #DB646D #6DDB64
tetradic
#646DDB #DB64A9 #DBD264 #64DB96
square
#646DDB #DB64A9 #DBD264 #64DB96
split-complementary
#646DDB #DB9664 #A9DB64
monochromatic
#252EA0 #323ECF #646DDB #969CE7 #C7CBF2

Accessibility & contrast

On white

4.42
#646DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#646DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DDB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DDB#FFFFFF#000000##000000
##646DDB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#28869A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ddb;
/* rgb */ color: rgb(100, 109, 219);
/* oklch */ color: oklch(58.3% 0.166 276.5);
Tailwind
colors: {
  custom: {
    50: '#9996e7',
    500: '#646ddb',
    950: '#000000',
  },
}
SCSS
$custom: #646ddb;
$custom-light: #9996e7;
$custom-dark: #000000;
JSON
{
  "hex": "#646ddb",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 219
  },
  "hsl": {
    "h": 235.462,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.16559,
    "h": 276.5
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#646DDB
secondary
#E3E0B8
accent
#BD1BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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