#6B64EC#6B64EC

#6B64EC is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.4% C 0.199 H 280.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6B64EC
RGBrgb(107, 100, 236)
HSLhsl(243, 78%, 66%)
HSVhsv(243, 58%, 93%)
CMYKcmyk(54.7%, 57.6%, 0%, 7.5%)
CIE-LABlab(49.85, 39.71, -68.07)
CIE-LCHlch(49.85, 78.80, 300.26°)
OKLaboklab(58.39% 0.0365 -0.1952)
OKLCHoklch(58.39% 0.199 280.6)
XYZxyz(25.7562, 18.2946, 81.5146)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B64EC #E5EC64
analogous
#64A1EC #6B64EC #AF64EC
triadic
#6B64EC #EC6B64 #64EC6B
tetradic
#6B64EC #EC64A1 #E5EC64 #64ECAF
square
#6B64EC #EC64A1 #E5EC64 #64ECAF
split-complementary
#6B64EC #ECAF64 #A1EC64
monochromatic
#2017BE #372DE5 #6B64EC #9F9BF3 #D3D1F9

Accessibility & contrast

On white

4.51
#6B64EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6B64EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B64EC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B64EC#FFFFFF#000000##000000
##6B64EC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#2C849E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6b64ec;
/* rgb */ color: rgb(107, 100, 236);
/* oklch */ color: oklch(58.4% 0.199 280.6);
Tailwind
colors: {
  custom: {
    50: '#9f90f3',
    500: '#6b64ec',
    950: '#000000',
  },
}
SCSS
$custom: #6b64ec;
$custom-light: #9f90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b64ec",
  "rgb": {
    "r": 107,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 243.088,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58388,
    "c": 0.19855,
    "h": 280.6
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#6B64EC
secondary
#EAECBF
accent
#DA0BD0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B64EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6B64EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva