#6164C8#6164C8

#6164C8 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.152 H 278.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6164C8
RGBrgb(97, 100, 200)
HSLhsl(238, 48%, 58%)
HSVhsv(238, 52%, 78%)
CMYKcmyk(51.5%, 50%, 0%, 21.6%)
CIE-LABlab(46.74, 26.50, -52.67)
CIE-LCHlch(46.74, 58.96, 296.71°)
OKLaboklab(55.13% 0.0234 -0.1501)
OKLCHoklch(55.13% 0.152 278.9)
XYZxyz(19.9090, 15.8247, 56.6378)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6164C8 #C8C561
analogous
#6198C8 #6164C8 #9161C8
triadic
#6164C8 #C86164 #64C861
tetradic
#6164C8 #C86198 #C8C561 #61C891
square
#6164C8 #C86198 #C8C561 #61C891
split-complementary
#6164C8 #C89161 #98C861
monochromatic
#2D3082 #3D40AF #6164C8 #8E91D8 #BCBDE8

Accessibility & contrast

On white

5.04
#6164C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6164C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6164C8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6164C8#FFFFFF#000000##FFFFFF
##6164C81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#367A8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6164c8;
/* rgb */ color: rgb(97, 100, 200);
/* oklch */ color: oklch(55.1% 0.152 278.9);
Tailwind
colors: {
  custom: {
    50: '#9590d9',
    500: '#6164c8',
    950: '#000000',
  },
}
SCSS
$custom: #6164c8;
$custom-light: #9590d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6164c8",
  "rgb": {
    "r": 97,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 238.252,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.15196,
    "h": 278.9
  },
  "luminance": 0.15826
}

Semantic roles & 50–950 ramp

primary
#6164C8
secondary
#D7D6AE
accent
#D450D8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6164C8

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

Preview Lab → · Contrast checker → · Palette generator →

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