#162B54#162B54

#162B54 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.079 H 262.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#162B54
RGBrgb(22, 43, 84)
HSLhsl(220, 58%, 21%)
HSVhsv(220, 74%, 33%)
CMYKcmyk(73.8%, 48.8%, 0%, 67.1%)
CIE-LABlab(18.09, 7.38, -27.46)
CIE-LCHlch(18.09, 28.43, 285.04°)
OKLaboklab(29.63% -0.0107 -0.0785)
OKLCHoklch(29.63% 0.079 262.3)
XYZxyz(2.7944, 2.5381, 8.7284)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B54 #543F16
analogous
#164A54 #162B54 #201654
triadic
#162B54 #54162B #2B5416
tetradic
#162B54 #54164A #543F16 #165420
square
#162B54 #54164A #543F16 #165420
split-complementary
#162B54 #542016 #4A5416
monochromatic
#060C18 #091224 #162B54 #234484 #2F5DB5

Accessibility & contrast

On white

13.93
#162B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B54
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B54#FFFFFF#000000##FFFFFF
##162B541.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F56
Deuteranopia (green-blind)
#0C2A53
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162b54;
/* rgb */ color: rgb(22, 43, 84);
/* oklch */ color: oklch(29.6% 0.079 262.3);
Tailwind
colors: {
  custom: {
    50: '#5c6384',
    500: '#162b54',
    950: '#000000',
  },
}
SCSS
$custom: #162b54;
$custom-light: #5c6384;
$custom-dark: #000000;
JSON
{
  "hex": "#162b54",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 219.677,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2963,
    "c": 0.07925,
    "h": 262.3
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#162B54
secondary
#8B703A
accent
#AD46E2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162B54

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

Preview Lab → · Contrast checker → · Palette generator →

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