#162D6D#162D6D

#162D6D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.115 H 265.4°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#162D6D
RGBrgb(22, 45, 109)
HSLhsl(224, 66%, 26%)
HSVhsv(224, 80%, 43%)
CMYKcmyk(79.8%, 58.7%, 0%, 57.3%)
CIE-LABlab(20.64, 16.41, -39.80)
CIE-LCHlch(20.64, 43.05, 292.40°)
OKLaboklab(32.18% -0.0093 -0.1148)
OKLCHoklch(32.18% 0.115 265.4)
XYZxyz(4.0286, 3.1510, 14.8609)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D6D #6D5616
analogous
#16586D #162D6D #2A166D
triadic
#162D6D #6D162D #2D6D16
tetradic
#162D6D #6D1658 #6D5616 #166D2A
square
#162D6D #6D1658 #6D5616 #166D2A
split-complementary
#162D6D #6D2A16 #586D16
monochromatic
#050B19 #0C183A #162D6D #2042A0 #2B57D3

Accessibility & contrast

On white

12.88
#162D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#162D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D6D
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D6D#FFFFFF#000000##FFFFFF
##162D6D1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162d6d;
/* rgb */ color: rgb(22, 45, 109);
/* oklch */ color: oklch(32.2% 0.115 265.4);
Tailwind
colors: {
  custom: {
    50: '#626597',
    500: '#162d6d',
    950: '#000000',
  },
}
SCSS
$custom: #162d6d;
$custom-light: #626597;
$custom-dark: #000000;
JSON
{
  "hex": "#162d6d",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 224.138,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32184,
    "c": 0.11518,
    "h": 265.4
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#162D6D
secondary
#A3883C
accent
#BC3EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #162D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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