#164A9F#164A9F

#164A9F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.149 H 260.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#164A9F
RGBrgb(22, 74, 159)
HSLhsl(217, 76%, 35%)
HSVhsv(217, 86%, 62%)
CMYKcmyk(86.2%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.07, 16.68, -50.79)
CIE-LCHlch(33.07, 53.46, 288.18°)
OKLaboklab(42.86% -0.0256 -0.1465)
OKLCHoklch(42.86% 0.149 260.1)
XYZxyz(9.0354, 7.5702, 33.7791)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A9F #9F6B16
analogous
#168F9F #164A9F #26169F
triadic
#164A9F #9F164A #4A9F16
tetradic
#164A9F #9F168F #9F6B16 #169F26
square
#164A9F #9F168F #9F6B16 #169F26
split-complementary
#164A9F #9F2616 #8F9F16
monochromatic
#071833 #0F3169 #164A9F #1D63D5 #4A85E6

Accessibility & contrast

On white

8.35
#164A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#164A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164A9F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A9F#FFFFFF#000000##FFFFFF
##164A9F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #164a9f;
/* rgb */ color: rgb(22, 74, 159);
/* oklch */ color: oklch(42.9% 0.149 260.1);
Tailwind
colors: {
  custom: {
    50: '#6e7bbc',
    500: '#164a9f',
    950: '#000000',
  },
}
SCSS
$custom: #164a9f;
$custom-light: #6e7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#164a9f",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 217.226,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.14873,
    "h": 260.1
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#164A9F
secondary
#C7984A
accent
#AB36F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #164A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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