#164E9F#164E9F

#164E9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.144 H 258.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#164E9F
RGBrgb(22, 78, 159)
HSLhsl(215, 76%, 35%)
HSVhsv(215, 86%, 62%)
CMYKcmyk(86.2%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.23, 13.96, -48.90)
CIE-LCHlch(34.23, 50.86, 285.94°)
OKLaboklab(43.75% -0.0284 -0.1409)
OKLCHoklch(43.75% 0.144 258.6)
XYZxyz(9.3110, 8.1214, 33.8710)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164E9F #9F6716
analogous
#16939F #164E9F #22169F
triadic
#164E9F #9F164E #4E9F16
tetradic
#164E9F #9F1693 #9F6716 #169F22
square
#164E9F #9F1693 #9F6716 #169F22
split-complementary
#164E9F #9F2216 #939F16
monochromatic
#071933 #0F3469 #164E9F #1D68D5 #4A89E6

Accessibility & contrast

On white

8.00
#164E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#164E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164E9F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164E9F#FFFFFF#000000##FFFFFF
##164E9F1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #164e9f;
/* rgb */ color: rgb(22, 78, 159);
/* oklch */ color: oklch(43.7% 0.144 258.6);
Tailwind
colors: {
  custom: {
    50: '#6d7ebc',
    500: '#164e9f',
    950: '#000000',
  },
}
SCSS
$custom: #164e9f;
$custom-light: #6d7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#164e9f",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 215.474,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.14372,
    "h": 258.6
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#164E9F
secondary
#C7944A
accent
#A536F2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #164E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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