#164CB4#164CB4

#164CB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.175 H 261.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#164CB4
RGBrgb(22, 76, 180)
HSLhsl(219, 78%, 40%)
HSVhsv(219, 88%, 71%)
CMYKcmyk(87.8%, 57.8%, 0%, 29.4%)
CIE-LABlab(35.27, 23.78, -59.75)
CIE-LCHlch(35.27, 64.31, 291.71°)
OKLaboklab(45.04% -0.0249 -0.1728)
OKLCHoklch(45.04% 0.175 261.8)
XYZxyz(11.1506, 8.6333, 44.2499)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164CB4 #B47E16
analogous
#169BB4 #164CB4 #2F16B4
triadic
#164CB4 #B4164C #4CB416
tetradic
#164CB4 #B4169B #B47E16 #16B42F
square
#164CB4 #B4169B #B47E16 #16B42F
split-complementary
#164CB4 #B42F16 #9BB416
monochromatic
#091E47 #0F357D #164CB4 #2365E4 #5A8BEB

Accessibility & contrast

On white

7.70
#164CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#164CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164CB4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164CB4#FFFFFF#000000##FFFFFF
##164CB41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #164cb4;
/* rgb */ color: rgb(22, 76, 180);
/* oklch */ color: oklch(45.0% 0.175 261.8);
Tailwind
colors: {
  custom: {
    50: '#737dcb',
    500: '#164cb4',
    950: '#000000',
  },
}
SCSS
$custom: #164cb4;
$custom-light: #737dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#164cb4",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 219.494,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.17459,
    "h": 261.8
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#164CB4
secondary
#CEA658
accent
#B333F5
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #164CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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