#164081#164081

#164081 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.119 H 259.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#164081
RGBrgb(22, 64, 129)
HSLhsl(216, 71%, 30%)
HSVhsv(216, 83%, 51%)
CMYKcmyk(82.9%, 50.4%, 0%, 49.4%)
CIE-LABlab(27.90, 11.22, -40.75)
CIE-LCHlch(27.90, 42.26, 285.40°)
OKLaboklab(38.2% -0.0224 -0.1172)
OKLCHoklch(38.2% 0.119 259.2)
XYZxyz(6.1253, 5.4216, 21.4883)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164081 #815716
analogous
#167581 #164081 #221681
triadic
#164081 #811640 #408116
tetradic
#164081 #811675 #815716 #168122
square
#164081 #811675 #815716 #168122
split-complementary
#164081 #812216 #758116
monochromatic
#040D1A #0D264D #164081 #1F5AB5 #3577DD

Accessibility & contrast

On white

10.07
#164081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#164081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164081
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164081#FFFFFF#000000##FFFFFF
##1640811.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #164081;
/* rgb */ color: rgb(22, 64, 129);
/* oklch */ color: oklch(38.2% 0.119 259.2);
Tailwind
colors: {
  custom: {
    50: '#6674a6',
    500: '#164081',
    950: '#000000',
  },
}
SCSS
$custom: #164081;
$custom-light: #6674a6;
$custom-dark: #000000;
JSON
{
  "hex": "#164081",
  "rgb": {
    "r": 22,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 216.449,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38203,
    "c": 0.1193,
    "h": 259.2
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#164081
secondary
#B6863D
accent
#A73AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #164081

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

Preview Lab → · Contrast checker → · Palette generator →

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