#164181#164181

#164181 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.118 H 258.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#164181
RGBrgb(22, 65, 129)
HSLhsl(216, 71%, 30%)
HSVhsv(216, 83%, 51%)
CMYKcmyk(82.9%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.21, 10.53, -40.25)
CIE-LCHlch(28.21, 41.61, 284.65°)
OKLaboklab(38.44% -0.0232 -0.1157)
OKLCHoklch(38.44% 0.118 258.7)
XYZxyz(6.1822, 5.5354, 21.5072)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164181 #815616
analogous
#167781 #164181 #211681
triadic
#164181 #811641 #418116
tetradic
#164181 #811677 #815616 #168121
square
#164181 #811677 #815616 #168121
split-complementary
#164181 #812116 #778116
monochromatic
#040D1A #0D274D #164181 #1F5BB5 #3578DD

Accessibility & contrast

On white

9.97
#164181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#164181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164181
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164181#FFFFFF#000000##FFFFFF
##1641811.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4883
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164181;
/* rgb */ color: rgb(22, 65, 129);
/* oklch */ color: oklch(38.4% 0.118 258.7);
Tailwind
colors: {
  custom: {
    50: '#6675a6',
    500: '#164181',
    950: '#000000',
  },
}
SCSS
$custom: #164181;
$custom-light: #6675a6;
$custom-dark: #000000;
JSON
{
  "hex": "#164181",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 215.888,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.11802,
    "h": 258.7
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#164181
secondary
#B6853D
accent
#A63AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #164181

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

Preview Lab → · Contrast checker → · Palette generator →

#164181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva