#164BA5#164BA5

#164BA5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.156 H 260.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#164BA5
RGBrgb(22, 75, 165)
HSLhsl(218, 76%, 37%)
HSVhsv(218, 87%, 65%)
CMYKcmyk(86.7%, 54.5%, 0%, 35.3%)
CIE-LABlab(33.81, 18.44, -53.19)
CIE-LCHlch(33.81, 56.30, 289.12°)
OKLaboklab(43.56% -0.0256 -0.1536)
OKLCHoklch(43.56% 0.156 260.5)
XYZxyz(9.6360, 7.9181, 36.6105)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164BA5 #A57016
analogous
#1693A5 #164BA5 #2816A5
triadic
#164BA5 #A5164B #4BA516
tetradic
#164BA5 #A51693 #A57016 #16A528
square
#164BA5 #A51693 #A57016 #16A528
split-complementary
#164BA5 #A52816 #93A516
monochromatic
#081A39 #0F326F #164BA5 #1D64DB #4E87E7

Accessibility & contrast

On white

8.13
#164BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#164BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164BA5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164BA5#FFFFFF#000000##FFFFFF
##164BA51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #164ba5;
/* rgb */ color: rgb(22, 75, 165);
/* oklch */ color: oklch(43.6% 0.156 260.5);
Tailwind
colors: {
  custom: {
    50: '#6f7cc0',
    500: '#164ba5',
    950: '#000000',
  },
}
SCSS
$custom: #164ba5;
$custom-light: #6f7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#164ba5",
  "rgb": {
    "r": 22,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 217.762,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43564,
    "c": 0.15568,
    "h": 260.5
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#164BA5
secondary
#C99B4E
accent
#AD35F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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