#164F9F#164F9F

#164F9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.142 H 258.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#164F9F
RGBrgb(22, 79, 159)
HSLhsl(215, 76%, 35%)
HSVhsv(215, 86%, 62%)
CMYKcmyk(86.2%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.53, 13.29, -48.43)
CIE-LCHlch(34.53, 50.22, 285.34°)
OKLaboklab(43.97% -0.0291 -0.1395)
OKLCHoklch(43.97% 0.142 258.2)
XYZxyz(9.3826, 8.2646, 33.8949)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F9F #9F6616
analogous
#16949F #164F9F #21169F
triadic
#164F9F #9F164F #4F9F16
tetradic
#164F9F #9F1694 #9F6616 #169F21
square
#164F9F #9F1694 #9F6616 #169F21
split-complementary
#164F9F #9F2116 #949F16
monochromatic
#071A33 #0F3469 #164F9F #1D6AD5 #4A8BE6

Accessibility & contrast

On white

7.91
#164F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#164F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F9F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F9F#FFFFFF#000000##FFFFFF
##164F9F1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #164f9f;
/* rgb */ color: rgb(22, 79, 159);
/* oklch */ color: oklch(44.0% 0.142 258.2);
Tailwind
colors: {
  custom: {
    50: '#6d7fbc',
    500: '#164f9f',
    950: '#000000',
  },
}
SCSS
$custom: #164f9f;
$custom-light: #6d7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#164f9f",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 215.036,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.14248,
    "h": 258.2
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#164F9F
secondary
#C7934A
accent
#A436F2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #164F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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