#6164CB#6164CB

#6164CB is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.156 H 278.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6164CB
RGBrgb(97, 100, 203)
HSLhsl(238, 50%, 59%)
HSVhsv(238, 52%, 80%)
CMYKcmyk(52.2%, 50.7%, 0%, 20.4%)
CIE-LABlab(46.93, 27.44, -54.09)
CIE-LCHlch(46.93, 60.66, 296.90°)
OKLaboklab(55.33% 0.0237 -0.1543)
OKLCHoklch(55.33% 0.156 278.7)
XYZxyz(20.2631, 15.9663, 58.5024)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6164CB #CBC861
analogous
#6199CB #6164CB #9361CB
triadic
#6164CB #CB6164 #64CB61
tetradic
#6164CB #CB6199 #CBC861 #61CB93
square
#6164CB #CB6199 #CBC861 #61CB93
split-complementary
#6164CB #CB9361 #99CB61
monochromatic
#2C2F86 #3B3FB4 #6164CB #8F91DA #BDBEE9

Accessibility & contrast

On white

5.01
#6164CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6164CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6164CB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6164CB#FFFFFF#000000##FFFFFF
##6164CB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074CF
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#337B8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6164cb;
/* rgb */ color: rgb(97, 100, 203);
/* oklch */ color: oklch(55.3% 0.156 278.7);
Tailwind
colors: {
  custom: {
    50: '#9590db',
    500: '#6164cb',
    950: '#000000',
  },
}
SCSS
$custom: #6164cb;
$custom-light: #9590db;
$custom-dark: #000000;
JSON
{
  "hex": "#6164cb",
  "rgb": {
    "r": 97,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 238.302,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55328,
    "c": 0.15614,
    "h": 278.7
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#6164CB
secondary
#D9D8AF
accent
#D64EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6164CB

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

Preview Lab → · Contrast checker → · Palette generator →

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