#164EB4#164EB4

#164EB4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.172 H 261.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#164EB4
RGBrgb(22, 78, 180)
HSLhsl(219, 78%, 40%)
HSVhsv(219, 88%, 71%)
CMYKcmyk(87.8%, 56.7%, 0%, 29.4%)
CIE-LABlab(35.82, 22.44, -58.86)
CIE-LCHlch(35.82, 62.99, 290.87°)
OKLaboklab(45.45% -0.026 -0.1701)
OKLCHoklch(45.45% 0.172 261.3)
XYZxyz(11.2905, 8.9132, 44.2965)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164EB4 #B47C16
analogous
#169DB4 #164EB4 #2D16B4
triadic
#164EB4 #B4164E #4EB416
tetradic
#164EB4 #B4169D #B47C16 #16B42D
square
#164EB4 #B4169D #B47C16 #16B42D
split-complementary
#164EB4 #B42D16 #9DB416
monochromatic
#091F47 #0F367D #164EB4 #2368E4 #5A8DEB

Accessibility & contrast

On white

7.55
#164EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#164EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164EB4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164EB4#FFFFFF#000000##FFFFFF
##164EB41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #164eb4;
/* rgb */ color: rgb(22, 78, 180);
/* oklch */ color: oklch(45.5% 0.172 261.3);
Tailwind
colors: {
  custom: {
    50: '#737ecb',
    500: '#164eb4',
    950: '#000000',
  },
}
SCSS
$custom: #164eb4;
$custom-light: #737ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#164eb4",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 218.734,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4545,
    "c": 0.17213,
    "h": 261.3
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#164EB4
secondary
#CEA458
accent
#B033F5
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #164EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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