#164B9F#164B9F

#164B9F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.147 H 259.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#164B9F
RGBrgb(22, 75, 159)
HSLhsl(217, 76%, 35%)
HSVhsv(217, 86%, 62%)
CMYKcmyk(86.2%, 52.8%, 0%, 37.6%)
CIE-LABlab(33.36, 16.00, -50.32)
CIE-LCHlch(33.36, 52.80, 287.64°)
OKLaboklab(43.08% -0.0263 -0.1451)
OKLCHoklch(43.08% 0.147 259.7)
XYZxyz(9.1027, 7.7048, 33.8016)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164B9F #9F6A16
analogous
#16909F #164B9F #25169F
triadic
#164B9F #9F164B #4B9F16
tetradic
#164B9F #9F1690 #9F6A16 #169F25
square
#164B9F #9F1690 #9F6A16 #169F25
split-complementary
#164B9F #9F2516 #909F16
monochromatic
#071833 #0F3269 #164B9F #1D64D5 #4A86E6

Accessibility & contrast

On white

8.26
#164B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#164B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164B9F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164B9F#FFFFFF#000000##FFFFFF
##164B9F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #164b9f;
/* rgb */ color: rgb(22, 75, 159);
/* oklch */ color: oklch(43.1% 0.147 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7cbc',
    500: '#164b9f',
    950: '#000000',
  },
}
SCSS
$custom: #164b9f;
$custom-light: #6e7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#164b9f",
  "rgb": {
    "r": 22,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 216.788,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.14747,
    "h": 259.7
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#164B9F
secondary
#C7974A
accent
#A936F2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #164B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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