#164D8D#164D8D

#164D8D is a dark, vivid cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.120 H 255.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#164D8D
RGBrgb(22, 77, 141)
HSLhsl(212, 73%, 32%)
HSVhsv(212, 84%, 55%)
CMYKcmyk(84.4%, 45.4%, 0%, 44.7%)
CIE-LABlab(32.70, 7.27, -40.45)
CIE-LCHlch(32.70, 41.10, 280.19°)
OKLaboklab(42.17% -0.0308 -0.116)
OKLCHoklch(42.17% 0.12 255.1)
XYZxyz(7.7907, 7.4005, 26.2120)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D8D #8D5616
analogous
#16898D #164D8D #1B168D
triadic
#164D8D #8D164D #4D8D16
tetradic
#164D8D #8D1689 #8D5616 #168D1B
square
#164D8D #8D1689 #8D5616 #168D1B
split-complementary
#164D8D #8D1B16 #898D16
monochromatic
#051323 #0E3058 #164D8D #1E6AC2 #3D88E1

Accessibility & contrast

On white

8.47
#164D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#164D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164D8D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D8D#FFFFFF#000000##FFFFFF
##164D8D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #164d8d;
/* rgb */ color: rgb(22, 77, 141);
/* oklch */ color: oklch(42.2% 0.120 255.1);
Tailwind
colors: {
  custom: {
    50: '#697eaf',
    500: '#164d8d',
    950: '#000000',
  },
}
SCSS
$custom: #164d8d;
$custom-light: #697eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#164d8d",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 212.269,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.12005,
    "h": 255.1
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#164D8D
secondary
#C1843E
accent
#9B38F0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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