#646CDB#646CDB

#646CDB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.1% C 0.167 H 276.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#646CDB
RGBrgb(100, 108, 219)
HSLhsl(236, 62%, 63%)
HSVhsv(236, 54%, 86%)
CMYKcmyk(54.3%, 50.7%, 0%, 14.1%)
CIE-LABlab(50.15, 28.23, -58.02)
CIE-LCHlch(50.15, 64.52, 295.95°)
OKLaboklab(58.13% 0.0197 -0.1657)
OKLCHoklch(58.13% 0.167 276.8)
XYZxyz(23.4002, 18.5474, 69.3510)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CDB #DBD364
analogous
#64A8DB #646CDB #9764DB
triadic
#646CDB #DB646C #6CDB64
tetradic
#646CDB #DB64A8 #DBD364 #64DB97
square
#646CDB #DB64A8 #DBD364 #64DB97
split-complementary
#646CDB #DB9764 #A8DB64
monochromatic
#252DA0 #323DCF #646CDB #969BE7 #C7CAF2

Accessibility & contrast

On white

4.46
#646CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#646CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CDB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CDB#FFFFFF#000000##000000
##646CDB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#298599
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646cdb;
/* rgb */ color: rgb(100, 108, 219);
/* oklch */ color: oklch(58.1% 0.167 276.8);
Tailwind
colors: {
  custom: {
    50: '#9996e7',
    500: '#646cdb',
    950: '#000000',
  },
}
SCSS
$custom: #646cdb;
$custom-light: #9996e7;
$custom-dark: #000000;
JSON
{
  "hex": "#646cdb",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 235.966,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.1669,
    "h": 276.8
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#646CDB
secondary
#E3E0B8
accent
#BE1BCA
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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