#164E9E#164E9E

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

Color values

HEX#164E9E
RGBrgb(22, 78, 158)
HSLhsl(215, 76%, 35%)
HSVhsv(215, 86%, 62%)
CMYKcmyk(86.1%, 50.6%, 0%, 38%)
CIE-LABlab(34.16, 13.56, -48.42)
CIE-LCHlch(34.16, 50.28, 285.64°)
OKLaboklab(43.67% -0.0286 -0.1394)
OKLCHoklch(43.67% 0.142 258.4)
XYZxyz(9.2245, 8.0868, 33.4158)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164E9E #9E6616
analogous
#16929E #164E9E #22169E
triadic
#164E9E #9E164E #4E9E16
tetradic
#164E9E #9E1692 #9E6616 #169E22
square
#164E9E #9E1692 #9E6616 #169E22
split-complementary
#164E9E #9E2216 #929E16
monochromatic
#071933 #0F3368 #164E9E #1D69D4 #4989E6

Accessibility & contrast

On white

8.02
#164E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164E9E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164E9E#FFFFFF#000000##FFFFFF
##164E9E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #164e9e;
/* rgb */ color: rgb(22, 78, 158);
/* oklch */ color: oklch(43.7% 0.142 258.4);
Tailwind
colors: {
  custom: {
    50: '#6d7ebb',
    500: '#164e9e',
    950: '#000000',
  },
}
SCSS
$custom: #164e9e;
$custom-light: #6d7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#164e9e",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 215.294,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.14234,
    "h": 258.4
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #164E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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