#164FB4#164FB4

#164FB4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.171 H 261.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#164FB4
RGBrgb(22, 79, 180)
HSLhsl(218, 78%, 40%)
HSVhsv(218, 88%, 71%)
CMYKcmyk(87.8%, 56.1%, 0%, 29.4%)
CIE-LABlab(36.09, 21.77, -58.41)
CIE-LCHlch(36.09, 62.33, 290.44°)
OKLaboklab(45.66% -0.0266 -0.1688)
OKLCHoklch(45.66% 0.171 261)
XYZxyz(11.3621, 9.0564, 44.3204)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164FB4 #B47B16
analogous
#169EB4 #164FB4 #2C16B4
triadic
#164FB4 #B4164F #4FB416
tetradic
#164FB4 #B4169E #B47B16 #16B42C
square
#164FB4 #B4169E #B47B16 #16B42C
split-complementary
#164FB4 #B42C16 #9EB416
monochromatic
#091F47 #0F377D #164FB4 #2369E4 #5A8EEB

Accessibility & contrast

On white

7.47
#164FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#164FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164FB4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164FB4#FFFFFF#000000##FFFFFF
##164FB41.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #164fb4;
/* rgb */ color: rgb(22, 79, 180);
/* oklch */ color: oklch(45.7% 0.171 261.0);
Tailwind
colors: {
  custom: {
    50: '#737fcb',
    500: '#164fb4',
    950: '#000000',
  },
}
SCSS
$custom: #164fb4;
$custom-light: #737fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#164fb4",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 218.354,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.1709,
    "h": 261
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#164FB4
secondary
#CEA358
accent
#AF33F5
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #164FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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