#164A8C#164A8C

#164A8C is a dark, vivid cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.122 H 256.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#164A8C
RGBrgb(22, 74, 140)
HSLhsl(214, 73%, 32%)
HSVhsv(214, 84%, 55%)
CMYKcmyk(84.3%, 47.1%, 0%, 45.1%)
CIE-LABlab(31.72, 8.89, -41.42)
CIE-LCHlch(31.72, 42.36, 282.12°)
OKLaboklab(41.39% -0.0286 -0.1189)
OKLCHoklch(41.39% 0.122 256.5)
XYZxyz(7.5115, 6.9607, 25.7535)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A8C #8C5816
analogous
#16858C #164A8C #1D168C
triadic
#164A8C #8C164A #4A8C16
tetradic
#164A8C #8C1685 #8C5816 #168C1D
square
#164A8C #8C1685 #8C5816 #168C1D
split-complementary
#164A8C #8C1D16 #858C16
monochromatic
#051222 #0E2E57 #164A8C #1E66C1 #3C84E0

Accessibility & contrast

On white

8.78
#164A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#164A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164A8C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A8C#FFFFFF#000000##FFFFFF
##164A8C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#07468B
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #164a8c;
/* rgb */ color: rgb(22, 74, 140);
/* oklch */ color: oklch(41.4% 0.122 256.5);
Tailwind
colors: {
  custom: {
    50: '#697bae',
    500: '#164a8c',
    950: '#000000',
  },
}
SCSS
$custom: #164a8c;
$custom-light: #697bae;
$custom-dark: #000000;
JSON
{
  "hex": "#164a8c",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 140
  },
  "hsl": {
    "h": 213.559,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.12232,
    "h": 256.5
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#164A8C
secondary
#C0873E
accent
#9F38F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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