#646FDF#646FDF

#646FDF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.168 H 275.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#646FDF
RGBrgb(100, 111, 223)
HSLhsl(235, 66%, 63%)
HSVhsv(235, 55%, 87%)
CMYKcmyk(55.2%, 50.2%, 0%, 12.5%)
CIE-LABlab(51.16, 27.68, -58.67)
CIE-LCHlch(51.16, 64.87, 295.25°)
OKLaboklab(58.96% 0.0168 -0.1676)
OKLCHoklch(58.96% 0.168 275.7)
XYZxyz(24.2550, 19.4042, 72.2650)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FDF #DFD464
analogous
#64ACDF #646FDF #9664DF
triadic
#646FDF #DF646F #6FDF64
tetradic
#646FDF #DF64AC #DFD464 #64DF96
square
#646FDF #DF64AC #DFD464 #64DF96
split-complementary
#646FDF #DF9664 #ACDF64
monochromatic
#222EA6 #3140D5 #646FDF #979EE9 #C9CDF4

Accessibility & contrast

On white

4.30
#646FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#646FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FDF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FDF#FFFFFF#000000##000000
##646FDF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#2175DD
Tritanopia (blue-blind)
#22889C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646fdf;
/* rgb */ color: rgb(100, 111, 223);
/* oklch */ color: oklch(59.0% 0.168 275.7);
Tailwind
colors: {
  custom: {
    50: '#9998ea',
    500: '#646fdf',
    950: '#000000',
  },
}
SCSS
$custom: #646fdf;
$custom-light: #9998ea;
$custom-dark: #000000;
JSON
{
  "hex": "#646fdf",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 234.634,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.16846,
    "h": 275.7
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#646FDF
secondary
#E5E1B9
accent
#BD18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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