#164D8E#164D8E

#164D8E is a dark, vivid cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.121 H 255.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#164D8E
RGBrgb(22, 77, 142)
HSLhsl(213, 73%, 32%)
HSVhsv(213, 85%, 56%)
CMYKcmyk(84.5%, 45.8%, 0%, 44.3%)
CIE-LABlab(32.77, 7.68, -40.95)
CIE-LCHlch(32.77, 41.67, 280.63°)
OKLaboklab(42.24% -0.0306 -0.1175)
OKLCHoklch(42.24% 0.121 255.4)
XYZxyz(7.8654, 7.4303, 26.6056)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D8E #8E5716
analogous
#16898E #164D8E #1B168E
triadic
#164D8E #8E164D #4D8E16
tetradic
#164D8E #8E1689 #8E5716 #168E1B
square
#164D8E #8E1689 #8E5716 #168E1B
split-complementary
#164D8E #8E1B16 #898E16
monochromatic
#061424 #0E3059 #164D8E #1E6AC3 #3D88E1

Accessibility & contrast

On white

8.45
#164D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#164D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164D8E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D8E#FFFFFF#000000##FFFFFF
##164D8E1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#10488D
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #164d8e;
/* rgb */ color: rgb(22, 77, 142);
/* oklch */ color: oklch(42.2% 0.121 255.4);
Tailwind
colors: {
  custom: {
    50: '#697eaf',
    500: '#164d8e',
    950: '#000000',
  },
}
SCSS
$custom: #164d8e;
$custom-light: #697eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#164d8e",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 212.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.12144,
    "h": 255.4
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#164D8E
secondary
#C1853F
accent
#9C38F0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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