#6164CD#6164CD

#6164CD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.5% C 0.159 H 278.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6164CD
RGBrgb(97, 100, 205)
HSLhsl(238, 52%, 59%)
HSVhsv(238, 53%, 80%)
CMYKcmyk(52.7%, 51.2%, 0%, 19.6%)
CIE-LABlab(47.06, 28.07, -55.04)
CIE-LCHlch(47.06, 61.78, 297.03°)
OKLaboklab(55.46% 0.0239 -0.1571)
OKLCHoklch(55.46% 0.159 278.6)
XYZxyz(20.5029, 16.0622, 59.7657)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6164CD #CDCA61
analogous
#619ACD #6164CD #9461CD
triadic
#6164CD #CD6164 #64CD61
tetradic
#6164CD #CD619A #CDCA61 #61CD94
square
#6164CD #CD619A #CDCA61 #61CD94
split-complementary
#6164CD #CD9461 #9ACD61
monochromatic
#2B2E88 #3A3DB7 #6164CD #8F92DC #BEBFEA

Accessibility & contrast

On white

4.98
#6164CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6164CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6164CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6164CD#FFFFFF#000000##FFFFFF
##6164CD1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#206BCB
Tritanopia (blue-blind)
#317B8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6164cd;
/* rgb */ color: rgb(97, 100, 205);
/* oklch */ color: oklch(55.5% 0.159 278.6);
Tailwind
colors: {
  custom: {
    50: '#9690dd',
    500: '#6164cd',
    950: '#000000',
  },
}
SCSS
$custom: #6164cd;
$custom-light: #9690dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6164cd",
  "rgb": {
    "r": 97,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 238.333,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.15891,
    "h": 278.6
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#6164CD
secondary
#DAD9B0
accent
#D74CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6164CD

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

Preview Lab → · Contrast checker → · Palette generator →

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