#6164BC#6164BC

#6164BC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.135 H 279.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6164BC
RGBrgb(97, 100, 188)
HSLhsl(238, 40%, 56%)
HSVhsv(238, 48%, 74%)
CMYKcmyk(48.4%, 46.8%, 0%, 26.3%)
CIE-LABlab(46.02, 22.75, -46.89)
CIE-LCHlch(46.02, 52.11, 295.88°)
OKLaboklab(54.35% 0.0221 -0.1332)
OKLCHoklch(54.35% 0.135 279.4)
XYZxyz(18.5613, 15.2856, 49.5396)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6164BC #BCB961
analogous
#6191BC #6164BC #8B61BC
triadic
#6164BC #BC6164 #64BC61
tetradic
#6164BC #BC6191 #BCB961 #61BC8B
square
#6164BC #BC6191 #BCB961 #61BC8B
split-complementary
#6164BC #BC8B61 #91BC61
monochromatic
#303372 #43469D #6164BC #8C8ECE #B7B8E0

Accessibility & contrast

On white

5.18
#6164BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6164BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6164BC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6164BC#FFFFFF#000000##FFFFFF
##6164BC1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F71BF
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#3F7787
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6164bc;
/* rgb */ color: rgb(97, 100, 188);
/* oklch */ color: oklch(54.4% 0.135 279.4);
Tailwind
colors: {
  custom: {
    50: '#9390d1',
    500: '#6164bc',
    950: '#000000',
  },
}
SCSS
$custom: #6164bc;
$custom-light: #9390d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6164bc",
  "rgb": {
    "r": 97,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 238.022,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54351,
    "c": 0.13499,
    "h": 279.4
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#6164BC
secondary
#CFCEAA
accent
#CC57D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6164BC

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

Preview Lab → · Contrast checker → · Palette generator →

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