#162D6C#162D6C

#162D6C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.114 H 265.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#162D6C
RGBrgb(22, 45, 108)
HSLhsl(224, 66%, 25%)
HSVhsv(224, 80%, 42%)
CMYKcmyk(79.6%, 58.3%, 0%, 57.6%)
CIE-LABlab(20.56, 15.99, -39.29)
CIE-LCHlch(20.56, 42.42, 292.14°)
OKLaboklab(32.1% -0.0094 -0.1133)
OKLCHoklch(32.1% 0.114 265.3)
XYZxyz(3.9751, 3.1296, 14.5790)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D6C #6C5516
analogous
#16586C #162D6C #2A166C
triadic
#162D6C #6C162D #2D6C16
tetradic
#162D6C #6C1658 #6C5516 #166C2A
square
#162D6C #6C1658 #6C5516 #166C2A
split-complementary
#162D6C #6C2A16 #586C16
monochromatic
#050B19 #0C1839 #162D6C #20429F #2B57D2

Accessibility & contrast

On white

12.92
#162D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D6C
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D6C#FFFFFF#000000##FFFFFF
##162D6C1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162d6c;
/* rgb */ color: rgb(22, 45, 108);
/* oklch */ color: oklch(32.1% 0.114 265.3);
Tailwind
colors: {
  custom: {
    50: '#626597',
    500: '#162d6c',
    950: '#000000',
  },
}
SCSS
$custom: #162d6c;
$custom-light: #626597;
$custom-dark: #000000;
JSON
{
  "hex": "#162d6c",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 223.953,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32095,
    "c": 0.11368,
    "h": 265.3
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#162D6C
secondary
#A2873C
accent
#BC3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #162D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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