#164CA5#164CA5

#164CA5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.154 H 260.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#164CA5
RGBrgb(22, 76, 165)
HSLhsl(217, 76%, 37%)
HSVhsv(217, 87%, 65%)
CMYKcmyk(86.7%, 53.9%, 0%, 35.3%)
CIE-LABlab(34.10, 17.76, -52.73)
CIE-LCHlch(34.10, 55.64, 288.61°)
OKLaboklab(43.78% -0.0262 -0.1522)
OKLCHoklch(43.78% 0.154 260.2)
XYZxyz(9.7044, 8.0548, 36.6333)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164CA5 #A56F16
analogous
#1694A5 #164CA5 #2816A5
triadic
#164CA5 #A5164C #4CA516
tetradic
#164CA5 #A51694 #A56F16 #16A528
square
#164CA5 #A51694 #A56F16 #16A528
split-complementary
#164CA5 #A52816 #94A516
monochromatic
#081A39 #0F336F #164CA5 #1D65DB #4E88E7

Accessibility & contrast

On white

8.04
#164CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#164CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164CA5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164CA5#FFFFFF#000000##FFFFFF
##164CA51.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0157A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #164ca5;
/* rgb */ color: rgb(22, 76, 165);
/* oklch */ color: oklch(43.8% 0.154 260.2);
Tailwind
colors: {
  custom: {
    50: '#6f7dc0',
    500: '#164ca5',
    950: '#000000',
  },
}
SCSS
$custom: #164ca5;
$custom-light: #6f7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#164ca5",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 217.343,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.15443,
    "h": 260.2
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#164CA5
secondary
#C99B4E
accent
#AB35F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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