#646EDC#646EDC

#646EDC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.6% C 0.166 H 276.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#646EDC
RGBrgb(100, 110, 220)
HSLhsl(235, 63%, 63%)
HSVhsv(235, 55%, 86%)
CMYKcmyk(54.5%, 50%, 0%, 13.7%)
CIE-LABlab(50.72, 27.33, -57.68)
CIE-LCHlch(50.72, 63.83, 295.35°)
OKLaboklab(58.57% 0.0176 -0.1647)
OKLCHoklch(58.57% 0.166 276.1)
XYZxyz(23.7456, 19.0269, 70.1176)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EDC #DCD264
analogous
#64AADC #646EDC #9664DC
triadic
#646EDC #DC646E #6EDC64
tetradic
#646EDC #DC64AA #DCD264 #64DC96
square
#646EDC #DC64AA #DCD264 #64DC96
split-complementary
#646EDC #DC9664 #AADC64
monochromatic
#242FA1 #323FD1 #646EDC #969DE7 #C8CBF3

Accessibility & contrast

On white

4.37
#646EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#646EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EDC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EDC#FFFFFF#000000##000000
##646EDC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#2474DA
Tritanopia (blue-blind)
#27879B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646edc;
/* rgb */ color: rgb(100, 110, 220);
/* oklch */ color: oklch(58.6% 0.166 276.1);
Tailwind
colors: {
  custom: {
    50: '#9997e7',
    500: '#646edc',
    950: '#000000',
  },
}
SCSS
$custom: #646edc;
$custom-light: #9997e7;
$custom-dark: #000000;
JSON
{
  "hex": "#646edc",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 220
  },
  "hsl": {
    "h": 235,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58574,
    "c": 0.16565,
    "h": 276.1
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#646EDC
secondary
#E4E0B8
accent
#BC1BCB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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