#164D9F#164D9F

#164D9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.145 H 259.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#164D9F
RGBrgb(22, 77, 159)
HSLhsl(216, 76%, 35%)
HSVhsv(216, 86%, 62%)
CMYKcmyk(86.2%, 51.6%, 0%, 37.6%)
CIE-LABlab(33.94, 14.64, -49.38)
CIE-LCHlch(33.94, 51.50, 286.52°)
OKLaboklab(43.52% -0.0277 -0.1423)
OKLCHoklch(43.52% 0.145 259)
XYZxyz(9.2405, 7.9804, 33.8475)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D9F #9F6816
analogous
#16929F #164D9F #23169F
triadic
#164D9F #9F164D #4D9F16
tetradic
#164D9F #9F1692 #9F6816 #169F23
square
#164D9F #9F1692 #9F6816 #169F23
split-complementary
#164D9F #9F2316 #929F16
monochromatic
#071933 #0F3369 #164D9F #1D67D5 #4A88E6

Accessibility & contrast

On white

8.09
#164D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#164D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164D9F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D9F#FFFFFF#000000##FFFFFF
##164D9F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #164d9f;
/* rgb */ color: rgb(22, 77, 159);
/* oklch */ color: oklch(43.5% 0.145 259.0);
Tailwind
colors: {
  custom: {
    50: '#6e7ebc',
    500: '#164d9f',
    950: '#000000',
  },
}
SCSS
$custom: #164d9f;
$custom-light: #6e7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#164d9f",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 215.912,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.14497,
    "h": 259
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #164D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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