#164F87#164F87

#164F87 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.109 H 251.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#164F87
RGBrgb(22, 79, 135)
HSLhsl(210, 72%, 31%)
HSVhsv(210, 84%, 53%)
CMYKcmyk(83.7%, 41.5%, 0%, 47.1%)
CIE-LABlab(32.94, 3.48, -36.38)
CIE-LCHlch(32.94, 36.55, 275.47°)
OKLaboklab(42.23% -0.034 -0.104)
OKLCHoklch(42.23% 0.109 251.9)
XYZxyz(7.4984, 7.5109, 23.9715)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F87 #874E16
analogous
#168786 #164F87 #161687
triadic
#164F87 #87164F #4F8716
tetradic
#164F87 #861687 #874E16 #168716
square
#164F87 #861687 #874E16 #168716
split-complementary
#164F87 #871616 #878616
monochromatic
#05111E #0D3052 #164F87 #1F6EBC #398CDF

Accessibility & contrast

On white

8.39
#164F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#164F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F87
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F87#FFFFFF#000000##FFFFFF
##164F871.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#214986
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #164f87;
/* rgb */ color: rgb(22, 79, 135);
/* oklch */ color: oklch(42.2% 0.109 251.9);
Tailwind
colors: {
  custom: {
    50: '#677faa',
    500: '#164f87',
    950: '#000000',
  },
}
SCSS
$custom: #164f87;
$custom-light: #677faa;
$custom-dark: #000000;
JSON
{
  "hex": "#164f87",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 209.735,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42234,
    "c": 0.10944,
    "h": 251.9
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#164F87
secondary
#BB7C3E
accent
#9339EF
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #164F87

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

Preview Lab → · Contrast checker → · Palette generator →

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