#162B49#162B49

#162B49 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.8% C 0.062 H 257.5°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#162B49
RGBrgb(22, 43, 73)
HSLhsl(215, 54%, 19%)
HSVhsv(215, 70%, 29%)
CMYKcmyk(69.9%, 41.1%, 0%, 71.4%)
CIE-LABlab(17.36, 2.82, -21.18)
CIE-LCHlch(17.36, 21.37, 277.58°)
OKLaboklab(28.83% -0.0134 -0.0601)
OKLCHoklch(28.83% 0.062 257.5)
XYZxyz(2.3969, 2.3791, 6.6349)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B49 #493416
analogous
#164449 #162B49 #1A1649
triadic
#162B49 #49162B #2B4916
tetradic
#162B49 #491644 #493416 #16491A
square
#162B49 #491644 #493416 #16491A
split-complementary
#162B49 #491A16 #444916
monochromatic
#070E18 #080F1A #162B49 #244778 #3262A7

Accessibility & contrast

On white

14.23
#162B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#162B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B49
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B49#FFFFFF#000000##FFFFFF
##162B491.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D4A
Deuteranopia (green-blind)
#172848
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162b49;
/* rgb */ color: rgb(22, 43, 73);
/* oklch */ color: oklch(28.8% 0.062 257.5);
Tailwind
colors: {
  custom: {
    50: '#59647c',
    500: '#162b49',
    950: '#000000',
  },
}
SCSS
$custom: #162b49;
$custom-light: #59647c;
$custom-dark: #000000;
JSON
{
  "hex": "#162b49",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 73
  },
  "hsl": {
    "h": 215.294,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28831,
    "c": 0.06158,
    "h": 257.5
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#162B49
secondary
#80643A
accent
#A14BDD
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #162B49

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

Preview Lab → · Contrast checker → · Palette generator →

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