#164CA1#164CA1

#164CA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.149 H 259.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#164CA1
RGBrgb(22, 76, 161)
HSLhsl(217, 76%, 36%)
HSVhsv(217, 86%, 63%)
CMYKcmyk(86.3%, 52.8%, 0%, 36.9%)
CIE-LABlab(33.80, 16.13, -50.81)
CIE-LCHlch(33.80, 53.31, 287.62°)
OKLaboklab(43.46% -0.0267 -0.1466)
OKLCHoklch(43.46% 0.149 259.7)
XYZxyz(9.3460, 7.9115, 34.7458)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164CA1 #A16B16
analogous
#1691A1 #164CA1 #2616A1
triadic
#164CA1 #A1164C #4CA116
tetradic
#164CA1 #A11691 #A16B16 #16A126
square
#164CA1 #A11691 #A16B16 #16A126
split-complementary
#164CA1 #A12616 #91A116
monochromatic
#071935 #0F336B #164CA1 #1D65D7 #4B87E6

Accessibility & contrast

On white

8.13
#164CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#164CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164CA1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164CA1#FFFFFF#000000##FFFFFF
##164CA11.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E56A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #164ca1;
/* rgb */ color: rgb(22, 76, 161);
/* oklch */ color: oklch(43.5% 0.149 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7dbd',
    500: '#164ca1',
    950: '#000000',
  },
}
SCSS
$custom: #164ca1;
$custom-light: #6e7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#164ca1",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 216.691,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.14897,
    "h": 259.7
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #164CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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