#646BDF#646BDF

#646BDF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.2% C 0.174 H 277.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#646BDF
RGBrgb(100, 107, 223)
HSLhsl(237, 66%, 63%)
HSVhsv(237, 55%, 87%)
CMYKcmyk(55.2%, 52%, 0%, 12.5%)
CIE-LABlab(50.16, 30.11, -60.28)
CIE-LCHlch(50.16, 67.38, 296.55°)
OKLaboklab(58.21% 0.021 -0.1724)
OKLCHoklch(58.21% 0.174 277)
XYZxyz(23.8283, 18.5508, 72.1228)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BDF #DFD864
analogous
#64A8DF #646BDF #9A64DF
triadic
#646BDF #DF646B #6BDF64
tetradic
#646BDF #DF64A8 #DFD864 #64DF9A
square
#646BDF #DF64A8 #DFD864 #64DF9A
split-complementary
#646BDF #DF9A64 #A8DF64
monochromatic
#222AA6 #313BD5 #646BDF #979BE9 #C9CCF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646BDF#FFFFFF#000000##000000
##646BDF1.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)
#2A7DE3
Deuteranopia (green-blind)
#1072DD
Tritanopia (blue-blind)
#23859B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646bdf;
/* rgb */ color: rgb(100, 107, 223);
/* oklch */ color: oklch(58.2% 0.174 277.0);
Tailwind
colors: {
  custom: {
    50: '#9995ea',
    500: '#646bdf',
    950: '#000000',
  },
}
SCSS
$custom: #646bdf;
$custom-light: #9995ea;
$custom-dark: #000000;
JSON
{
  "hex": "#646bdf",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 236.585,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58213,
    "c": 0.17366,
    "h": 277
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#646BDF
secondary
#E5E3B9
accent
#C318CE
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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