#6164E4#6164E4

#6164E4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.190 H 277.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6164E4
RGBrgb(97, 100, 228)
HSLhsl(239, 71%, 64%)
HSVhsv(239, 57%, 89%)
CMYKcmyk(57.5%, 56.1%, 0%, 10.6%)
CIE-LABlab(48.58, 35.39, -65.66)
CIE-LCHlch(48.58, 74.59, 298.33°)
OKLaboklab(57.09% 0.0249 -0.1883)
OKLCHoklch(57.09% 0.19 277.5)
XYZxyz(23.4860, 17.2555, 75.4768)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6164E4 #E4E161
analogous
#61A5E4 #6164E4 #9F61E4
triadic
#6164E4 #E46164 #64E461
tetradic
#6164E4 #E461A5 #E4E161 #61E49F
square
#6164E4 #E461A5 #E4E161 #61E49F
split-complementary
#6164E4 #E49F61 #A5E461
monochromatic
#1E21AD #2D31DB #6164E4 #9597ED #CACBF6

Accessibility & contrast

On white

4.72
#6164E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#6164E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6164E4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6164E4#FFFFFF#000000##FFFFFF
##6164E41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#05829A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6164e4;
/* rgb */ color: rgb(97, 100, 228);
/* oklch */ color: oklch(57.1% 0.190 277.5);
Tailwind
colors: {
  custom: {
    50: '#9990ed',
    500: '#6164e4',
    950: '#000000',
  },
}
SCSS
$custom: #6164e4;
$custom-light: #9990ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6164e4",
  "rgb": {
    "r": 97,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 238.626,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.18998,
    "h": 277.5
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#6164E4
secondary
#E7E6B9
accent
#CE13D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6164E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6164E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva