#164D8B#164D8B

#164D8B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.117 H 254.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#164D8B
RGBrgb(22, 77, 139)
HSLhsl(212, 73%, 32%)
HSVhsv(212, 84%, 55%)
CMYKcmyk(84.2%, 44.6%, 0%, 45.5%)
CIE-LABlab(32.57, 6.45, -39.43)
CIE-LCHlch(32.57, 39.95, 279.29°)
OKLaboklab(42.03% -0.0313 -0.113)
OKLCHoklch(42.03% 0.117 254.5)
XYZxyz(7.6432, 7.3415, 25.4353)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D8B #8B5416
analogous
#16888B #164D8B #1A168B
triadic
#164D8B #8B164D #4D8B16
tetradic
#164D8B #8B1688 #8B5416 #168B1A
square
#164D8B #8B1688 #8B5416 #168B1A
split-complementary
#164D8B #8B1A16 #888B16
monochromatic
#051221 #0E3056 #164D8B #1E6AC0 #3B89E0

Accessibility & contrast

On white

8.51
#164D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#164D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164D8B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D8B#FFFFFF#000000##FFFFFF
##164D8B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#16488A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #164d8b;
/* rgb */ color: rgb(22, 77, 139);
/* oklch */ color: oklch(42.0% 0.117 254.5);
Tailwind
colors: {
  custom: {
    50: '#687ead',
    500: '#164d8b',
    950: '#000000',
  },
}
SCSS
$custom: #164d8b;
$custom-light: #687ead;
$custom-dark: #000000;
JSON
{
  "hex": "#164d8b",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 211.795,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.11728,
    "h": 254.5
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#164D8B
secondary
#BF823E
accent
#9938EF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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