#164B87#164B87

#164B87 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.114 H 254.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#164B87
RGBrgb(22, 75, 135)
HSLhsl(212, 72%, 31%)
HSVhsv(212, 84%, 53%)
CMYKcmyk(83.7%, 44.4%, 0%, 47.1%)
CIE-LABlab(31.70, 6.16, -38.38)
CIE-LCHlch(31.70, 38.87, 279.12°)
OKLaboklab(41.26% -0.0305 -0.11)
OKLCHoklch(41.26% 0.114 254.5)
XYZxyz(7.2185, 6.9511, 23.8782)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164B87 #875216
analogous
#168387 #164B87 #191687
triadic
#164B87 #87164B #4B8716
tetradic
#164B87 #871683 #875216 #168719
square
#164B87 #871683 #875216 #168719
split-complementary
#164B87 #871916 #838716
monochromatic
#05111E #0D2E52 #164B87 #1F68BC #3987DF

Accessibility & contrast

On white

8.79
#164B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#164B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164B87
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164B87#FFFFFF#000000##FFFFFF
##164B871.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#164686
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #164b87;
/* rgb */ color: rgb(22, 75, 135);
/* oklch */ color: oklch(41.3% 0.114 254.5);
Tailwind
colors: {
  custom: {
    50: '#677caa',
    500: '#164b87',
    950: '#000000',
  },
}
SCSS
$custom: #164b87;
$custom-light: #677caa;
$custom-dark: #000000;
JSON
{
  "hex": "#164b87",
  "rgb": {
    "r": 22,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 211.858,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.11411,
    "h": 254.5
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#164B87
secondary
#BB803E
accent
#9A39EF
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164B87

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

Preview Lab → · Contrast checker → · Palette generator →

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