#164F8B#164F8B

#164F8B is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.115 H 253.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#164F8B
RGBrgb(22, 79, 139)
HSLhsl(211, 73%, 32%)
HSVhsv(211, 84%, 55%)
CMYKcmyk(84.2%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.19, 5.11, -38.44)
CIE-LCHlch(33.19, 38.78, 277.58°)
OKLaboklab(42.51% -0.033 -0.1101)
OKLCHoklch(42.51% 0.115 253.3)
XYZxyz(7.7853, 7.6257, 25.4827)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F8B #8B5216
analogous
#168A8B #164F8B #17168B
triadic
#164F8B #8B164F #4F8B16
tetradic
#164F8B #8B168A #8B5216 #168B17
square
#164F8B #8B168A #8B5216 #168B17
split-complementary
#164F8B #8B1716 #8A8B16
monochromatic
#051321 #0E3156 #164F8B #1E6DC0 #3B8CE0

Accessibility & contrast

On white

8.32
#164F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#164F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F8B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F8B#FFFFFF#000000##FFFFFF
##164F8B1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #164f8b;
/* rgb */ color: rgb(22, 79, 139);
/* oklch */ color: oklch(42.5% 0.115 253.3);
Tailwind
colors: {
  custom: {
    50: '#687fad',
    500: '#164f8b',
    950: '#000000',
  },
}
SCSS
$custom: #164f8b;
$custom-light: #687fad;
$custom-dark: #000000;
JSON
{
  "hex": "#164f8b",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 210.769,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.11492,
    "h": 253.3
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#164F8B
secondary
#BF803E
accent
#9638EF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #164F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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