#646ECF#646ECF

#646ECF is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.148 H 276.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#646ECF
RGBrgb(100, 110, 207)
HSLhsl(234, 53%, 60%)
HSVhsv(234, 52%, 81%)
CMYKcmyk(51.7%, 46.9%, 0%, 18.8%)
CIE-LABlab(49.94, 23.21, -51.55)
CIE-LCHlch(49.94, 56.54, 294.24°)
OKLaboklab(57.73% 0.0162 -0.1467)
OKLCHoklch(57.73% 0.148 276.3)
XYZxyz(22.0904, 18.3648, 61.4001)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ECF #CFC564
analogous
#64A3CF #646ECF #9064CF
triadic
#646ECF #CF646E #6ECF64
tetradic
#646ECF #CF64A3 #CFC564 #64CF90
square
#646ECF #CF64A3 #CFC564 #64CF90
split-complementary
#646ECF #CF9064 #A3CF64
monochromatic
#2C358D #3A46BC #646ECF #939ADD #C1C5EC

Accessibility & contrast

On white

4.49
#646ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#646ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646ECF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ECF#FFFFFF#000000##000000
##646ECF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#3773CD
Tritanopia (blue-blind)
#368394
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646ecf;
/* rgb */ color: rgb(100, 110, 207);
/* oklch */ color: oklch(57.7% 0.148 276.3);
Tailwind
colors: {
  custom: {
    50: '#9797de',
    500: '#646ecf',
    950: '#000000',
  },
}
SCSS
$custom: #646ecf;
$custom-light: #9797de;
$custom-dark: #000000;
JSON
{
  "hex": "#646ecf",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 234.393,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.14761,
    "h": 276.3
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#646ECF
secondary
#DCD8B3
accent
#B225C0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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