#164AA1#164AA1

#164AA1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.151 H 260.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#164AA1
RGBrgb(22, 74, 161)
HSLhsl(218, 76%, 36%)
HSVhsv(218, 86%, 63%)
CMYKcmyk(86.3%, 54%, 0%, 36.9%)
CIE-LABlab(33.22, 17.49, -51.75)
CIE-LCHlch(33.22, 54.62, 288.68°)
OKLaboklab(43.02% -0.0254 -0.1493)
OKLCHoklch(43.02% 0.151 260.4)
XYZxyz(9.2103, 7.6402, 34.7006)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164AA1 #A16D16
analogous
#168FA1 #164AA1 #2716A1
triadic
#164AA1 #A1164A #4AA116
tetradic
#164AA1 #A1168F #A16D16 #16A127
square
#164AA1 #A1168F #A16D16 #16A127
split-complementary
#164AA1 #A12716 #8FA116
monochromatic
#071935 #0F316B #164AA1 #1D63D7 #4B85E6

Accessibility & contrast

On white

8.31
#164AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#164AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164AA1
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164AA1#FFFFFF#000000##FFFFFF
##164AA11.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #164aa1;
/* rgb */ color: rgb(22, 74, 161);
/* oklch */ color: oklch(43.0% 0.151 260.4);
Tailwind
colors: {
  custom: {
    50: '#6e7bbd',
    500: '#164aa1',
    950: '#000000',
  },
}
SCSS
$custom: #164aa1;
$custom-light: #6e7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#164aa1",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 217.554,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43019,
    "c": 0.15148,
    "h": 260.4
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#164AA1
secondary
#C8994B
accent
#AC35F3
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #164AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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