#646BE3#646BE3

#646BE3 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.5% C 0.179 H 276.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#646BE3
RGBrgb(100, 107, 227)
HSLhsl(237, 69%, 64%)
HSVhsv(237, 56%, 89%)
CMYKcmyk(55.9%, 52.9%, 0%, 11%)
CIE-LABlab(50.42, 31.39, -62.12)
CIE-LCHlch(50.42, 69.60, 296.81°)
OKLaboklab(58.49% 0.0213 -0.1778)
OKLCHoklch(58.49% 0.179 276.8)
XYZxyz(24.3739, 18.7691, 74.9966)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BE3 #E3DC64
analogous
#64ABE3 #646BE3 #9D64E3
triadic
#646BE3 #E3646B #6BE364
tetradic
#646BE3 #E364AB #E3DC64 #64E39D
square
#646BE3 #E364AB #E3DC64 #64E39D
split-complementary
#646BE3 #E39D64 #ABE364
monochromatic
#1F27AD #303ADA #646BE3 #989CEC #CCCEF6

Accessibility & contrast

On white

4.42
#646BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#646BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BE3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BE3#FFFFFF#000000##000000
##646BE31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#237DE7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#1C869D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646be3;
/* rgb */ color: rgb(100, 107, 227);
/* oklch */ color: oklch(58.5% 0.179 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a95ec',
    500: '#646be3',
    950: '#000000',
  },
}
SCSS
$custom: #646be3;
$custom-light: #9a95ec;
$custom-dark: #000000;
JSON
{
  "hex": "#646be3",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 236.693,
    "s": 69.399,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58489,
    "c": 0.17907,
    "h": 276.8
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#646BE3
secondary
#E8E5BB
accent
#C714D1
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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