#164AA5#164AA5

#164AA5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.157 H 260.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#164AA5
RGBrgb(22, 74, 165)
HSLhsl(218, 76%, 37%)
HSVhsv(218, 87%, 65%)
CMYKcmyk(86.7%, 55.2%, 0%, 35.3%)
CIE-LABlab(33.53, 19.12, -53.65)
CIE-LCHlch(33.53, 56.96, 289.61°)
OKLaboklab(43.35% -0.0249 -0.1549)
OKLCHoklch(43.35% 0.157 260.9)
XYZxyz(9.5687, 7.7835, 36.5881)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164AA5 #A57116
analogous
#1692A5 #164AA5 #2A16A5
triadic
#164AA5 #A5164A #4AA516
tetradic
#164AA5 #A51692 #A57116 #16A52A
square
#164AA5 #A51692 #A57116 #16A52A
split-complementary
#164AA5 #A52A16 #92A516
monochromatic
#081A39 #0F326F #164AA5 #1D62DB #4E86E7

Accessibility & contrast

On white

8.21
#164AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#164AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164AA5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164AA5#FFFFFF#000000##FFFFFF
##164AA51.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.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: #164aa5;
/* rgb */ color: rgb(22, 74, 165);
/* oklch */ color: oklch(43.3% 0.157 260.9);
Tailwind
colors: {
  custom: {
    50: '#6f7bc0',
    500: '#164aa5',
    950: '#000000',
  },
}
SCSS
$custom: #164aa5;
$custom-light: #6f7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#164aa5",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 218.182,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43348,
    "c": 0.15694,
    "h": 260.9
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#164AA5
secondary
#C99C4E
accent
#AE35F3
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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