#164EA1#164EA1

#164EA1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.146 H 258.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#164EA1
RGBrgb(22, 78, 161)
HSLhsl(216, 76%, 36%)
HSVhsv(216, 86%, 63%)
CMYKcmyk(86.3%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.38, 14.78, -49.87)
CIE-LCHlch(34.38, 52.02, 286.51°)
OKLaboklab(43.9% -0.0281 -0.1437)
OKLCHoklch(43.9% 0.146 258.9)
XYZxyz(9.4859, 8.1914, 34.7924)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164EA1 #A16916
analogous
#1693A1 #164EA1 #2316A1
triadic
#164EA1 #A1164E #4EA116
tetradic
#164EA1 #A11693 #A16916 #16A123
square
#164EA1 #A11693 #A16916 #16A123
split-complementary
#164EA1 #A12316 #93A116
monochromatic
#071A35 #0F346B #164EA1 #1D68D7 #4B8AE6

Accessibility & contrast

On white

7.96
#164EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#164EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164EA1
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164EA1#FFFFFF#000000##FFFFFF
##164EA11.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #164ea1;
/* rgb */ color: rgb(22, 78, 161);
/* oklch */ color: oklch(43.9% 0.146 258.9);
Tailwind
colors: {
  custom: {
    50: '#6e7ebd',
    500: '#164ea1',
    950: '#000000',
  },
}
SCSS
$custom: #164ea1;
$custom-light: #6e7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#164ea1",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 215.827,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43902,
    "c": 0.14646,
    "h": 258.9
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#164EA1
secondary
#C8964B
accent
#A635F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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