#164D9E#164D9E

#164D9E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.144 H 258.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#164D9E
RGBrgb(22, 77, 158)
HSLhsl(216, 76%, 35%)
HSVhsv(216, 86%, 62%)
CMYKcmyk(86.1%, 51.3%, 0%, 38%)
CIE-LABlab(33.87, 14.23, -48.89)
CIE-LCHlch(33.87, 50.92, 286.23°)
OKLaboklab(43.44% -0.0278 -0.1409)
OKLCHoklch(43.44% 0.144 258.8)
XYZxyz(9.1540, 7.9458, 33.3923)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D9E #9E6716
analogous
#16919E #164D9E #23169E
triadic
#164D9E #9E164D #4D9E16
tetradic
#164D9E #9E1691 #9E6716 #169E23
square
#164D9E #9E1691 #9E6716 #169E23
split-complementary
#164D9E #9E2316 #919E16
monochromatic
#071933 #0F3368 #164D9E #1D67D4 #4988E6

Accessibility & contrast

On white

8.11
#164D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#164D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164D9E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D9E#FFFFFF#000000##FFFFFF
##164D9E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #164d9e;
/* rgb */ color: rgb(22, 77, 158);
/* oklch */ color: oklch(43.4% 0.144 258.8);
Tailwind
colors: {
  custom: {
    50: '#6d7ebb',
    500: '#164d9e',
    950: '#000000',
  },
}
SCSS
$custom: #164d9e;
$custom-light: #6d7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#164d9e",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 215.735,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.14359,
    "h": 258.8
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#164D9E
secondary
#C79449
accent
#A636F2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #164D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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