#162C6D#162C6D

#162C6D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.117 H 265.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#162C6D
RGBrgb(22, 44, 109)
HSLhsl(225, 66%, 26%)
HSVhsv(225, 80%, 43%)
CMYKcmyk(79.8%, 59.6%, 0%, 57.3%)
CIE-LABlab(20.34, 17.13, -40.28)
CIE-LCHlch(20.34, 43.77, 293.04°)
OKLaboklab(31.96% -0.0085 -0.1162)
OKLCHoklch(31.96% 0.117 265.8)
XYZxyz(3.9909, 3.0756, 14.8484)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C6D #6D5716
analogous
#16576D #162C6D #2C166D
triadic
#162C6D #6D162C #2C6D16
tetradic
#162C6D #6D1657 #6D5716 #166D2C
square
#162C6D #6D1657 #6D5716 #166D2C
split-complementary
#162C6D #6D2C16 #576D16
monochromatic
#050A19 #0C173A #162C6D #2041A0 #2B55D3

Accessibility & contrast

On white

13.00
#162C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C6D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C6D#FFFFFF#000000##FFFFFF
##162C6D1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162c6d;
/* rgb */ color: rgb(22, 44, 109);
/* oklch */ color: oklch(32.0% 0.117 265.8);
Tailwind
colors: {
  custom: {
    50: '#626497',
    500: '#162c6d',
    950: '#000000',
  },
}
SCSS
$custom: #162c6d;
$custom-light: #626497;
$custom-dark: #000000;
JSON
{
  "hex": "#162c6d",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 224.828,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31962,
    "c": 0.11653,
    "h": 265.8
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#162C6D
secondary
#A3893C
accent
#BE3EE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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