#164CA7#164CA7

#164CA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.157 H 260.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#164CA7
RGBrgb(22, 76, 167)
HSLhsl(218, 77%, 37%)
HSVhsv(218, 87%, 65%)
CMYKcmyk(86.8%, 54.5%, 0%, 34.5%)
CIE-LABlab(34.25, 18.57, -53.68)
CIE-LCHlch(34.25, 56.80, 289.08°)
OKLaboklab(43.94% -0.026 -0.155)
OKLCHoklch(43.94% 0.157 260.5)
XYZxyz(9.8878, 8.1282, 37.5995)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164CA7 #A77116
analogous
#1695A7 #164CA7 #2816A7
triadic
#164CA7 #A7164C #4CA716
tetradic
#164CA7 #A71695 #A77116 #16A728
square
#164CA7 #A71695 #A77116 #16A728
split-complementary
#164CA7 #A72816 #95A716
monochromatic
#081B3B #0F3371 #164CA7 #1D65DD #5088E8

Accessibility & contrast

On white

8.00
#164CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#164CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164CA7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164CA7#FFFFFF#000000##FFFFFF
##164CA71.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #164ca7;
/* rgb */ color: rgb(22, 76, 167);
/* oklch */ color: oklch(43.9% 0.157 260.5);
Tailwind
colors: {
  custom: {
    50: '#707dc2',
    500: '#164ca7',
    950: '#000000',
  },
}
SCSS
$custom: #164ca7;
$custom-light: #707dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#164ca7",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 217.655,
    "s": 76.72,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.15715,
    "h": 260.5
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#164CA7
secondary
#CA9C4F
accent
#AC35F3
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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