#162164#162164

#162164 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.118 H 269.9°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#162164
RGBrgb(22, 33, 100)
HSLhsl(232, 64%, 24%)
HSVhsv(232, 78%, 39%)
CMYKcmyk(78%, 67%, 0%, 60.8%)
CIE-LABlab(16.40, 21.38, -40.85)
CIE-LCHlch(16.40, 46.10, 297.63°)
OKLaboklab(28.77% -0.0001 -0.118)
OKLCHoklch(28.77% 0.118 269.9)
XYZxyz(3.1742, 2.1781, 12.3072)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162164 #645916
analogous
#164864 #162164 #321664
triadic
#162164 #641621 #216416
tetradic
#162164 #641648 #645916 #166432
square
#162164 #641648 #645916 #166432
split-complementary
#162164 #643216 #486416
monochromatic
#060819 #0B1032 #162164 #213296 #2C42C8

Accessibility & contrast

On white

14.63
#162164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162164
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162164#FFFFFF#000000##FFFFFF
##1621641.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162164;
/* rgb */ color: rgb(22, 33, 100);
/* oklch */ color: oklch(28.8% 0.118 269.9);
Tailwind
colors: {
  custom: {
    50: '#615c91',
    500: '#162164',
    950: '#000000',
  },
}
SCSS
$custom: #162164;
$custom-light: #615c91;
$custom-dark: #000000;
JSON
{
  "hex": "#162164",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 231.538,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2877,
    "c": 0.11804,
    "h": 269.9
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#162164
secondary
#9B8D3B
accent
#D041E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #162164

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

Preview Lab → · Contrast checker → · Palette generator →

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