#164EA5#164EA5

#164EA5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.152 H 259.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#164EA5
RGBrgb(22, 78, 165)
HSLhsl(217, 76%, 37%)
HSVhsv(217, 87%, 65%)
CMYKcmyk(86.7%, 52.7%, 0%, 35.3%)
CIE-LABlab(34.67, 16.40, -51.80)
CIE-LCHlch(34.67, 54.33, 287.57°)
OKLaboklab(44.22% -0.0276 -0.1494)
OKLCHoklch(44.22% 0.152 259.5)
XYZxyz(9.8443, 8.3347, 36.6799)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164EA5 #A56D16
analogous
#1696A5 #164EA5 #2516A5
triadic
#164EA5 #A5164E #4EA516
tetradic
#164EA5 #A51696 #A56D16 #16A525
square
#164EA5 #A51696 #A56D16 #16A525
split-complementary
#164EA5 #A52516 #96A516
monochromatic
#081B39 #0F346F #164EA5 #1D68DB #4E8AE7

Accessibility & contrast

On white

7.87
#164EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#164EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164EA5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164EA5#FFFFFF#000000##FFFFFF
##164EA51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #164ea5;
/* rgb */ color: rgb(22, 78, 165);
/* oklch */ color: oklch(44.2% 0.152 259.5);
Tailwind
colors: {
  custom: {
    50: '#6f7ec0',
    500: '#164ea5',
    950: '#000000',
  },
}
SCSS
$custom: #164ea5;
$custom-light: #6f7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#164ea5",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 216.503,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44218,
    "c": 0.15192,
    "h": 259.5
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#164EA5
secondary
#C9994E
accent
#A935F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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