#162D6A#162D6A

#162D6A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.111 H 265.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#162D6A
RGBrgb(22, 45, 106)
HSLhsl(224, 66%, 25%)
HSVhsv(224, 79%, 42%)
CMYKcmyk(79.2%, 57.5%, 0%, 58.4%)
CIE-LABlab(20.39, 15.15, -38.26)
CIE-LCHlch(20.39, 41.15, 291.61°)
OKLaboklab(31.92% -0.0095 -0.1103)
OKLCHoklch(31.92% 0.111 265.1)
XYZxyz(3.8699, 3.0875, 14.0249)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D6A #6A5316
analogous
#16576A #162D6A #29166A
triadic
#162D6A #6A162D #2D6A16
tetradic
#162D6A #6A1657 #6A5316 #166A29
square
#162D6A #6A1657 #6A5316 #166A29
split-complementary
#162D6A #6A2916 #576A16
monochromatic
#050B19 #0B1737 #162D6A #21439D #2B58CF

Accessibility & contrast

On white

12.98
#162D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D6A
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D6A#FFFFFF#000000##FFFFFF
##162D6A1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162d6a;
/* rgb */ color: rgb(22, 45, 106);
/* oklch */ color: oklch(31.9% 0.111 265.1);
Tailwind
colors: {
  custom: {
    50: '#616595',
    500: '#162d6a',
    950: '#000000',
  },
}
SCSS
$custom: #162d6a;
$custom-light: #616595;
$custom-dark: #000000;
JSON
{
  "hex": "#162d6a",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 223.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31919,
    "c": 0.11068,
    "h": 265.1
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#162D6A
secondary
#A0853B
accent
#BA3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #162D6A

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

Preview Lab → · Contrast checker → · Palette generator →

#162D6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva