#162D6F#162D6F

#162D6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.118 H 265.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#162D6F
RGBrgb(22, 45, 111)
HSLhsl(224, 67%, 26%)
HSVhsv(224, 80%, 44%)
CMYKcmyk(80.2%, 59.5%, 0%, 56.5%)
CIE-LABlab(20.81, 17.24, -40.82)
CIE-LCHlch(20.81, 44.31, 292.89°)
OKLaboklab(32.36% -0.0092 -0.1178)
OKLCHoklch(32.36% 0.118 265.5)
XYZxyz(4.1375, 3.1946, 15.4344)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D6F #6F5816
analogous
#16596F #162D6F #2B166F
triadic
#162D6F #6F162D #2D6F16
tetradic
#162D6F #6F1659 #6F5816 #166F2B
square
#162D6F #6F1659 #6F5816 #166F2B
split-complementary
#162D6F #6F2B16 #596F16
monochromatic
#050A1A #0C183C #162D6F #2042A2 #2B57D5

Accessibility & contrast

On white

12.81
#162D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D6F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D6F#FFFFFF#000000##FFFFFF
##162D6F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162d6f;
/* rgb */ color: rgb(22, 45, 111);
/* oklch */ color: oklch(32.4% 0.118 265.5);
Tailwind
colors: {
  custom: {
    50: '#636599',
    500: '#162d6f',
    950: '#000000',
  },
}
SCSS
$custom: #162d6f;
$custom-light: #636599;
$custom-dark: #000000;
JSON
{
  "hex": "#162d6f",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 224.494,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.11815,
    "h": 265.5
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#162D6F
secondary
#A58A3C
accent
#BD3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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