#646AEF#646AEF

#646AEF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.2% C 0.196 H 276.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#646AEF
RGBrgb(100, 106, 239)
HSLhsl(237, 81%, 66%)
HSVhsv(237, 58%, 94%)
CMYKcmyk(58.2%, 55.6%, 0%, 6.3%)
CIE-LABlab(50.98, 35.82, -67.95)
CIE-LCHlch(50.98, 76.81, 297.80°)
OKLaboklab(59.16% 0.0227 -0.195)
OKLCHoklch(59.16% 0.196 276.6)
XYZxyz(25.9845, 19.2475, 83.9905)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AEF #EFE964
analogous
#64B0EF #646AEF #A464EF
triadic
#646AEF #EF646A #6AEF64
tetradic
#646AEF #EF64B0 #EFE964 #64EFA4
square
#646AEF #EF64B0 #EFE964 #64EFA4
split-complementary
#646AEF #EFA464 #B0EF64
monochromatic
#141CC4 #2D35E9 #646AEF #9B9FF5 #D3D5FA

Accessibility & contrast

On white

4.33
#646AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#646AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AEF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AEF#FFFFFF#000000##000000
##646AEF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#0089A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646aef;
/* rgb */ color: rgb(100, 106, 239);
/* oklch */ color: oklch(59.2% 0.196 276.6);
Tailwind
colors: {
  custom: {
    50: '#9c94f5',
    500: '#646aef',
    950: '#000000',
  },
}
SCSS
$custom: #646aef;
$custom-light: #9c94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#646aef",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 237.41,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.19627,
    "h": 276.6
  },
  "luminance": 0.19249
}

Semantic roles & 50–950 ramp

primary
#646AEF
secondary
#EEECC1
accent
#D408DE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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