#162B6A#162B6A

#162B6A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.113 H 266.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#162B6A
RGBrgb(22, 43, 106)
HSLhsl(225, 66%, 25%)
HSVhsv(225, 79%, 42%)
CMYKcmyk(79.2%, 59.4%, 0%, 58.4%)
CIE-LABlab(19.80, 16.61, -39.23)
CIE-LCHlch(19.80, 42.60, 292.95°)
OKLaboklab(31.47% -0.0079 -0.1131)
OKLCHoklch(31.47% 0.113 266)
XYZxyz(3.7954, 2.9385, 14.0000)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B6A #6A5516
analogous
#16556A #162B6A #2B166A
triadic
#162B6A #6A162B #2B6A16
tetradic
#162B6A #6A1655 #6A5516 #166A2B
square
#162B6A #6A1655 #6A5516 #166A2B
split-complementary
#162B6A #6A2B16 #556A16
monochromatic
#050A19 #0B1637 #162B6A #21409D #2B54CF

Accessibility & contrast

On white

13.23
#162B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#162B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B6A
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B6A#FFFFFF#000000##FFFFFF
##162B6A1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162b6a;
/* rgb */ color: rgb(22, 43, 106);
/* oklch */ color: oklch(31.5% 0.113 266.0);
Tailwind
colors: {
  custom: {
    50: '#616395',
    500: '#162b6a',
    950: '#000000',
  },
}
SCSS
$custom: #162b6a;
$custom-light: #616395;
$custom-dark: #000000;
JSON
{
  "hex": "#162b6a",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 225,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3147,
    "c": 0.11341,
    "h": 266
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#162B6A
secondary
#A0873B
accent
#BE3FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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