#646CEB#646CEB

#646CEB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.2% C 0.188 H 276.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#646CEB
RGBrgb(100, 108, 235)
HSLhsl(236, 77%, 66%)
HSVhsv(236, 57%, 92%)
CMYKcmyk(57.4%, 54%, 0%, 7.8%)
CIE-LABlab(51.19, 33.34, -65.37)
CIE-LCHlch(51.19, 73.38, 297.02°)
OKLaboklab(59.23% 0.0206 -0.1873)
OKLCHoklch(59.23% 0.188 276.3)
XYZxyz(25.6087, 19.4307, 80.9822)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CEB #EBE364
analogous
#64B0EB #646CEB #9F64EB
triadic
#646CEB #EB646C #6CEB64
tetradic
#646CEB #EB64B0 #EBE364 #64EB9F
square
#646CEB #EB64B0 #EBE364 #64EB9F
split-complementary
#646CEB #EB9F64 #B0EB64
monochromatic
#1822BC #2E39E4 #646CEB #9A9FF2 #D0D3F9

Accessibility & contrast

On white

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

On black

4.89
#646CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CEB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CEB#FFFFFF#000000##000000
##646CEB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1480EF
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646ceb;
/* rgb */ color: rgb(100, 108, 235);
/* oklch */ color: oklch(59.2% 0.188 276.3);
Tailwind
colors: {
  custom: {
    50: '#9b96f2',
    500: '#646ceb',
    950: '#000000',
  },
}
SCSS
$custom: #646ceb;
$custom-light: #9b96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#646ceb",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 236.444,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.18848,
    "h": 276.3
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#646CEB
secondary
#ECE9BF
accent
#CD0CD9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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