#164C5F#164C5F

#164C5F is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.1% C 0.064 H 225.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#164C5F
RGBrgb(22, 76, 95)
HSLhsl(196, 62%, 23%)
HSVhsv(196, 77%, 37%)
CMYKcmyk(76.8%, 20%, 0%, 62.7%)
CIE-LABlab(29.83, -10.43, -16.21)
CIE-LCHlch(29.83, 19.28, 237.26°)
OKLaboklab(39.07% -0.0444 -0.0454)
OKLCHoklch(39.07% 0.064 225.6)
XYZxyz(4.9800, 6.1651, 11.7518)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164C5F #5F2916
analogous
#165F4D #164C5F #16285F
triadic
#164C5F #5F164C #4C5F16
tetradic
#164C5F #4D165F #5F2916 #285F16
square
#164C5F #4D165F #5F2916 #285F16
split-complementary
#164C5F #5F1628 #5F4D16
monochromatic
#061419 #0A242D #164C5F #227491 #2D9CC2

Accessibility & contrast

On white

9.40
#164C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#164C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164C5F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164C5F#FFFFFF#000000##FFFFFF
##164C5F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A60
Deuteranopia (green-blind)
#38435F
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #164c5f;
/* rgb */ color: rgb(22, 76, 95);
/* oklch */ color: oklch(39.1% 0.064 225.6);
Tailwind
colors: {
  custom: {
    50: '#5f7e8c',
    500: '#164c5f',
    950: '#000000',
  },
}
SCSS
$custom: #164c5f;
$custom-light: #5f7e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#164c5f",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 95
  },
  "hsl": {
    "h": 195.616,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39071,
    "c": 0.06351,
    "h": 225.6
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#164C5F
secondary
#96533B
accent
#6D42E5
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #164C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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