#646CEF#646CEF

#646CEF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.194 H 276.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#646CEF
RGBrgb(100, 108, 239)
HSLhsl(237, 81%, 66%)
HSVhsv(237, 58%, 94%)
CMYKcmyk(58.2%, 54.8%, 0%, 6.3%)
CIE-LABlab(51.46, 34.62, -67.17)
CIE-LCHlch(51.46, 75.57, 297.27°)
OKLaboklab(59.52% 0.0208 -0.1927)
OKLCHoklch(59.52% 0.194 276.2)
XYZxyz(26.1930, 19.6645, 84.0600)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CEF #EFE764
analogous
#64B2EF #646CEF #A264EF
triadic
#646CEF #EF646C #6CEF64
tetradic
#646CEF #EF64B2 #EFE764 #64EFA2
square
#646CEF #EF64B2 #EFE764 #64EFA2
split-complementary
#646CEF #EFA264 #B2EF64
monochromatic
#141EC4 #2D37E9 #646CEF #9BA1F5 #D3D5FA

Accessibility & contrast

On white

4.26
#646CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#646CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CEF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CEF#FFFFFF#000000##000000
##646CEF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0181F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646cef;
/* rgb */ color: rgb(100, 108, 239);
/* oklch */ color: oklch(59.5% 0.194 276.2);
Tailwind
colors: {
  custom: {
    50: '#9c96f5',
    500: '#646cef',
    950: '#000000',
  },
}
SCSS
$custom: #646cef;
$custom-light: #9c96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#646cef",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 236.547,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.5952,
    "c": 0.19378,
    "h": 276.2
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#646CEF
secondary
#EEEBC1
accent
#D108DE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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