#164BA1#164BA1

#164BA1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.150 H 260.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#164BA1
RGBrgb(22, 75, 161)
HSLhsl(217, 76%, 36%)
HSVhsv(217, 86%, 63%)
CMYKcmyk(86.3%, 53.4%, 0%, 36.9%)
CIE-LABlab(33.51, 16.81, -51.28)
CIE-LCHlch(33.51, 53.97, 288.15°)
OKLaboklab(43.24% -0.026 -0.1479)
OKLCHoklch(43.24% 0.15 260)
XYZxyz(9.2776, 7.7748, 34.7230)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164BA1 #A16C16
analogous
#1690A1 #164BA1 #2616A1
triadic
#164BA1 #A1164B #4BA116
tetradic
#164BA1 #A11690 #A16C16 #16A126
square
#164BA1 #A11690 #A16C16 #16A126
split-complementary
#164BA1 #A12616 #90A116
monochromatic
#071935 #0F326B #164BA1 #1D64D7 #4B86E6

Accessibility & contrast

On white

8.22
#164BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#164BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164BA1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164BA1#FFFFFF#000000##FFFFFF
##164BA11.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0755A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #164ba1;
/* rgb */ color: rgb(22, 75, 161);
/* oklch */ color: oklch(43.2% 0.150 260.0);
Tailwind
colors: {
  custom: {
    50: '#6e7cbd',
    500: '#164ba1',
    950: '#000000',
  },
}
SCSS
$custom: #164ba1;
$custom-light: #6e7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#164ba1",
  "rgb": {
    "r": 22,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 217.122,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.15022,
    "h": 260
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#164BA1
secondary
#C8984B
accent
#AA35F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164BA1

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

Preview Lab → · Contrast checker → · Palette generator →

#164BA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva