#6164E7#6164E7

#6164E7 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.194 H 277.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6164E7
RGBrgb(97, 100, 231)
HSLhsl(239, 74%, 64%)
HSVhsv(239, 58%, 91%)
CMYKcmyk(58%, 56.7%, 0%, 9.4%)
CIE-LABlab(48.79, 36.35, -67.01)
CIE-LCHlch(48.79, 76.24, 298.48°)
OKLaboklab(57.31% 0.0249 -0.1923)
OKLCHoklch(57.31% 0.194 277.4)
XYZxyz(23.9061, 17.4235, 77.6891)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6164E7 #E7E461
analogous
#61A7E7 #6164E7 #A161E7
triadic
#6164E7 #E76164 #64E761
tetradic
#6164E7 #E761A7 #E7E461 #61E7A1
square
#6164E7 #E761A7 #E7E461 #61E7A1
split-complementary
#6164E7 #E7A161 #A7E761
monochromatic
#1B1FB2 #2C30DF #6164E7 #9698EF #CBCCF7

Accessibility & contrast

On white

4.68
#6164E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#6164E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6164E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6164E7#FFFFFF#000000##FFFFFF
##6164E71.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6164e7;
/* rgb */ color: rgb(97, 100, 231);
/* oklch */ color: oklch(57.3% 0.194 277.4);
Tailwind
colors: {
  custom: {
    50: '#9990ef',
    500: '#6164e7',
    950: '#000000',
  },
}
SCSS
$custom: #6164e7;
$custom-light: #9990ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6164e7",
  "rgb": {
    "r": 97,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 238.657,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57309,
    "c": 0.19393,
    "h": 277.4
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#6164E7
secondary
#E9E8BB
accent
#D110D6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6164E7

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

Preview Lab → · Contrast checker → · Palette generator →

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