#164F8D#164F8D

#164F8D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.118 H 254.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#164F8D
RGBrgb(22, 79, 141)
HSLhsl(211, 73%, 32%)
HSVhsv(211, 84%, 55%)
CMYKcmyk(84.4%, 44%, 0%, 44.7%)
CIE-LABlab(33.32, 5.93, -39.46)
CIE-LCHlch(33.32, 39.90, 278.55°)
OKLaboklab(42.65% -0.0325 -0.1131)
OKLCHoklch(42.65% 0.118 254)
XYZxyz(7.9328, 7.6846, 26.2593)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F8D #8D5416
analogous
#168A8D #164F8D #19168D
triadic
#164F8D #8D164F #4F8D16
tetradic
#164F8D #8D168A #8D5416 #168D19
square
#164F8D #8D168A #8D5416 #168D19
split-complementary
#164F8D #8D1916 #8A8D16
monochromatic
#051423 #0E3158 #164F8D #1E6DC2 #3D8BE1

Accessibility & contrast

On white

8.28
#164F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#164F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F8D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F8D#FFFFFF#000000##FFFFFF
##164F8D1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#19498C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #164f8d;
/* rgb */ color: rgb(22, 79, 141);
/* oklch */ color: oklch(42.6% 0.118 254.0);
Tailwind
colors: {
  custom: {
    50: '#697faf',
    500: '#164f8d',
    950: '#000000',
  },
}
SCSS
$custom: #164f8d;
$custom-light: #697faf;
$custom-dark: #000000;
JSON
{
  "hex": "#164f8d",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 211.261,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.11767,
    "h": 254
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#164F8D
secondary
#C1823E
accent
#9838F0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #164F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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