#164D8C#164D8C

#164D8C is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.119 H 254.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#164D8C
RGBrgb(22, 77, 140)
HSLhsl(212, 73%, 32%)
HSVhsv(212, 84%, 55%)
CMYKcmyk(84.3%, 45%, 0%, 45.1%)
CIE-LABlab(32.64, 6.86, -39.94)
CIE-LCHlch(32.64, 40.53, 279.75°)
OKLaboklab(42.1% -0.0311 -0.1145)
OKLCHoklch(42.1% 0.119 254.8)
XYZxyz(7.7166, 7.3708, 25.8219)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D8C #8C5516
analogous
#16888C #164D8C #1A168C
triadic
#164D8C #8C164D #4D8C16
tetradic
#164D8C #8C1688 #8C5516 #168C1A
square
#164D8C #8C1688 #8C5516 #168C1A
split-complementary
#164D8C #8C1A16 #888C16
monochromatic
#051322 #0E3057 #164D8C #1E6AC1 #3C89E0

Accessibility & contrast

On white

8.49
#164D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164D8C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D8C#FFFFFF#000000##FFFFFF
##164D8C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #164d8c;
/* rgb */ color: rgb(22, 77, 140);
/* oklch */ color: oklch(42.1% 0.119 254.8);
Tailwind
colors: {
  custom: {
    50: '#697eae',
    500: '#164d8c',
    950: '#000000',
  },
}
SCSS
$custom: #164d8c;
$custom-light: #697eae;
$custom-dark: #000000;
JSON
{
  "hex": "#164d8c",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 140
  },
  "hsl": {
    "h": 212.034,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.11867,
    "h": 254.8
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#164D8C
secondary
#C0833E
accent
#9A38F0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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