#164DA5#164DA5

#164DA5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.153 H 259.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#164DA5
RGBrgb(22, 77, 165)
HSLhsl(217, 76%, 37%)
HSVhsv(217, 87%, 65%)
CMYKcmyk(86.7%, 53.3%, 0%, 35.3%)
CIE-LABlab(34.38, 17.08, -52.26)
CIE-LCHlch(34.38, 54.98, 288.10°)
OKLaboklab(44% -0.0269 -0.1508)
OKLCHoklch(44% 0.153 259.9)
XYZxyz(9.7738, 8.1937, 36.6564)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164DA5 #A56E16
analogous
#1695A5 #164DA5 #2616A5
triadic
#164DA5 #A5164D #4DA516
tetradic
#164DA5 #A51695 #A56E16 #16A526
square
#164DA5 #A51695 #A56E16 #16A526
split-complementary
#164DA5 #A52616 #95A516
monochromatic
#081B39 #0F346F #164DA5 #1D66DB #4E89E7

Accessibility & contrast

On white

7.96
#164DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#164DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164DA5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164DA5#FFFFFF#000000##FFFFFF
##164DA51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0758A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #164da5;
/* rgb */ color: rgb(22, 77, 165);
/* oklch */ color: oklch(44.0% 0.153 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7ec0',
    500: '#164da5',
    950: '#000000',
  },
}
SCSS
$custom: #164da5;
$custom-light: #6f7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#164da5",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 216.923,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43999,
    "c": 0.15317,
    "h": 259.9
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#164DA5
secondary
#C99A4E
accent
#AA35F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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