#646CED#646CED

#646CED is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.4% C 0.191 H 276.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#646CED
RGBrgb(100, 108, 237)
HSLhsl(236, 79%, 66%)
HSVhsv(236, 58%, 93%)
CMYKcmyk(57.8%, 54.4%, 0%, 7.1%)
CIE-LABlab(51.32, 33.98, -66.27)
CIE-LCHlch(51.32, 74.47, 297.15°)
OKLaboklab(59.38% 0.0207 -0.19)
OKLCHoklch(59.38% 0.191 276.2)
XYZxyz(25.8992, 19.5470, 82.5125)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CED #EDE564
analogous
#64B0ED #646CED #A064ED
triadic
#646CED #ED646C #6CED64
tetradic
#646CED #ED64B0 #EDE564 #64EDA0
square
#646CED #ED64B0 #EDE564 #64EDA0
split-complementary
#646CED #EDA064 #B0ED64
monochromatic
#1620C0 #2D38E7 #646CED #9BA0F3 #D2D4FA

Accessibility & contrast

On white

4.28
#646CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#646CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CED
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CED#FFFFFF#000000##000000
##646CED1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C80F1
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646ced;
/* rgb */ color: rgb(100, 108, 237);
/* oklch */ color: oklch(59.4% 0.191 276.2);
Tailwind
colors: {
  custom: {
    50: '#9b96f4',
    500: '#646ced',
    950: '#000000',
  },
}
SCSS
$custom: #646ced;
$custom-light: #9b96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#646ced",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 236.496,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59377,
    "c": 0.19114,
    "h": 276.2
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#646CED
secondary
#EDEAC0
accent
#CF0ADB
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646CED

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

Preview Lab → · Contrast checker → · Palette generator →

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