#164C99#164C99

#164C99 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.138 H 258.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#164C99
RGBrgb(22, 76, 153)
HSLhsl(215, 75%, 34%)
HSVhsv(215, 86%, 60%)
CMYKcmyk(85.6%, 50.3%, 0%, 40%)
CIE-LABlab(33.22, 12.87, -46.92)
CIE-LCHlch(33.22, 48.66, 285.34°)
OKLaboklab(42.83% -0.0279 -0.1351)
OKLCHoklch(42.83% 0.138 258.3)
XYZxyz(8.6630, 7.6383, 31.1486)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164C99 #996316
analogous
#168E99 #164C99 #211699
triadic
#164C99 #99164C #4C9916
tetradic
#164C99 #99168E #996316 #169921
square
#164C99 #99168E #996316 #169921
split-complementary
#164C99 #992116 #8E9916
monochromatic
#07172E #0E3163 #164C99 #1E67CF #4587E4

Accessibility & contrast

On white

8.31
#164C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164C99
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164C99#FFFFFF#000000##FFFFFF
##164C991.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #164c99;
/* rgb */ color: rgb(22, 76, 153);
/* oklch */ color: oklch(42.8% 0.138 258.3);
Tailwind
colors: {
  custom: {
    50: '#6c7db8',
    500: '#164c99',
    950: '#000000',
  },
}
SCSS
$custom: #164c99;
$custom-light: #6c7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#164c99",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 215.267,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.13794,
    "h": 258.3
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#164C99
secondary
#C59146
accent
#A436F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #164C99

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

Preview Lab → · Contrast checker → · Palette generator →

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