#646ED4#646ED4

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

Color values

HEX#646ED4
RGBrgb(100, 110, 212)
HSLhsl(235, 57%, 61%)
HSVhsv(235, 53%, 83%)
CMYKcmyk(52.8%, 48.1%, 0%, 16.9%)
CIE-LABlab(50.23, 24.79, -53.92)
CIE-LCHlch(50.23, 59.35, 294.69°)
OKLaboklab(58.05% 0.0168 -0.1537)
OKLCHoklch(58.05% 0.155 276.2)
XYZxyz(22.7114, 18.6132, 64.6705)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ED4 #D4CA64
analogous
#64A6D4 #646ED4 #9264D4
triadic
#646ED4 #D4646E #6ED464
tetradic
#646ED4 #D464A6 #D4CA64 #64D492
square
#646ED4 #D464A6 #D4CA64 #64D492
split-complementary
#646ED4 #D49264 #A6D464
monochromatic
#293394 #3643C4 #646ED4 #949BE1 #C4C8EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646ED4#FFFFFF#000000##000000
##646ED41.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)
#3E7CD8
Deuteranopia (green-blind)
#3173D2
Tritanopia (blue-blind)
#318497
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ed4;
/* rgb */ color: rgb(100, 110, 212);
/* oklch */ color: oklch(58.1% 0.155 276.2);
Tailwind
colors: {
  custom: {
    50: '#9897e2',
    500: '#646ed4',
    950: '#000000',
  },
}
SCSS
$custom: #646ed4;
$custom-light: #9897e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646ed4",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 212
  },
  "hsl": {
    "h": 234.643,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.1546,
    "h": 276.2
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#646ED4
secondary
#DFDBB5
accent
#B621C4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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