#164A99#164A99

#164A99 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.140 H 259.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#164A99
RGBrgb(22, 74, 153)
HSLhsl(216, 75%, 34%)
HSVhsv(216, 86%, 60%)
CMYKcmyk(85.6%, 51.6%, 0%, 40%)
CIE-LABlab(32.63, 14.23, -47.88)
CIE-LCHlch(32.63, 49.95, 286.55°)
OKLaboklab(42.38% -0.0264 -0.1379)
OKLCHoklch(42.38% 0.14 259.2)
XYZxyz(8.5273, 7.3670, 31.1033)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A99 #996516
analogous
#168C99 #164A99 #231699
triadic
#164A99 #99164A #4A9916
tetradic
#164A99 #99168C #996516 #169923
square
#164A99 #99168C #996516 #169923
split-complementary
#164A99 #992316 #8C9916
monochromatic
#07162E #0E3063 #164A99 #1E64CF #4584E4

Accessibility & contrast

On white

8.49
#164A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#164A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164A99
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A99#FFFFFF#000000##FFFFFF
##164A991.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #164a99;
/* rgb */ color: rgb(22, 74, 153);
/* oklch */ color: oklch(42.4% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#6c7bb8',
    500: '#164a99',
    950: '#000000',
  },
}
SCSS
$custom: #164a99;
$custom-light: #6c7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#164a99",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 216.183,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.14045,
    "h": 259.2
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#164A99
secondary
#C59346
accent
#A736F1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #164A99

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

Preview Lab → · Contrast checker → · Palette generator →

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