#646FED#646FED

#646FED is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.187 H 275.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#646FED
RGBrgb(100, 111, 237)
HSLhsl(235, 79%, 66%)
HSVhsv(235, 58%, 93%)
CMYKcmyk(57.8%, 53.2%, 0%, 7.1%)
CIE-LABlab(52.05, 32.16, -65.09)
CIE-LCHlch(52.05, 72.60, 296.30°)
OKLaboklab(59.92% 0.0178 -0.1865)
OKLCHoklch(59.92% 0.187 275.4)
XYZxyz(26.2211, 20.1907, 82.6198)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FED #EDE264
analogous
#64B4ED #646FED #9D64ED
triadic
#646FED #ED646F #6FED64
tetradic
#646FED #ED64B4 #EDE264 #64ED9D
square
#646FED #ED64B4 #EDE264 #64ED9D
split-complementary
#646FED #ED9D64 #B4ED64
monochromatic
#1624C0 #2D3CE7 #646FED #9BA2F3 #D2D5FA

Accessibility & contrast

On white

4.17
#646FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#646FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FED#FFFFFF#000000##000000
##646FED1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646fed;
/* rgb */ color: rgb(100, 111, 237);
/* oklch */ color: oklch(59.9% 0.187 275.4);
Tailwind
colors: {
  custom: {
    50: '#9b98f4',
    500: '#646fed',
    950: '#000000',
  },
}
SCSS
$custom: #646fed;
$custom-light: #9b98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#646fed",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 235.182,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.18735,
    "h": 275.4
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#646FED
secondary
#EDE9C0
accent
#CB0ADB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646FED

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

Preview Lab → · Contrast checker → · Palette generator →

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