#164E8B#164E8B

#164E8B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.116 H 253.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#164E8B
RGBrgb(22, 78, 139)
HSLhsl(211, 73%, 32%)
HSVhsv(211, 84%, 55%)
CMYKcmyk(84.2%, 43.9%, 0%, 45.5%)
CIE-LABlab(32.88, 5.78, -38.94)
CIE-LCHlch(32.88, 39.36, 278.45°)
OKLaboklab(42.27% -0.0321 -0.1116)
OKLCHoklch(42.27% 0.116 253.9)
XYZxyz(7.7137, 7.4825, 25.4588)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164E8B #8B5316
analogous
#16898B #164E8B #19168B
triadic
#164E8B #8B164E #4E8B16
tetradic
#164E8B #8B1689 #8B5316 #168B19
square
#164E8B #8B1689 #8B5316 #168B19
split-complementary
#164E8B #8B1916 #898B16
monochromatic
#051321 #0E3056 #164E8B #1E6CC0 #3B8AE0

Accessibility & contrast

On white

8.41
#164E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164E8B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164E8B#FFFFFF#000000##FFFFFF
##164E8B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#19498A
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #164e8b;
/* rgb */ color: rgb(22, 78, 139);
/* oklch */ color: oklch(42.3% 0.116 253.9);
Tailwind
colors: {
  custom: {
    50: '#687fad',
    500: '#164e8b',
    950: '#000000',
  },
}
SCSS
$custom: #164e8b;
$custom-light: #687fad;
$custom-dark: #000000;
JSON
{
  "hex": "#164e8b",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 211.282,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.11609,
    "h": 253.9
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#164E8B
secondary
#BF813E
accent
#9838EF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #164E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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