#162C6C#162C6C

#162C6C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.115 H 265.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#162C6C
RGBrgb(22, 44, 108)
HSLhsl(225, 66%, 25%)
HSVhsv(225, 80%, 42%)
CMYKcmyk(79.6%, 59.3%, 0%, 57.6%)
CIE-LABlab(20.26, 16.71, -39.77)
CIE-LCHlch(20.26, 43.14, 292.79°)
OKLaboklab(31.87% -0.0086 -0.1147)
OKLCHoklch(31.87% 0.115 265.7)
XYZxyz(3.9374, 3.0542, 14.5665)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C6C #6C5616
analogous
#16576C #162C6C #2B166C
triadic
#162C6C #6C162C #2C6C16
tetradic
#162C6C #6C1657 #6C5616 #166C2B
square
#162C6C #6C1657 #6C5616 #166C2B
split-complementary
#162C6C #6C2B16 #576C16
monochromatic
#050A19 #0C1739 #162C6C #20419F #2B55D2

Accessibility & contrast

On white

13.04
#162C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C6C
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C6C#FFFFFF#000000##FFFFFF
##162C6C1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162c6c;
/* rgb */ color: rgb(22, 44, 108);
/* oklch */ color: oklch(31.9% 0.115 265.7);
Tailwind
colors: {
  custom: {
    50: '#626497',
    500: '#162c6c',
    950: '#000000',
  },
}
SCSS
$custom: #162c6c;
$custom-light: #626497;
$custom-dark: #000000;
JSON
{
  "hex": "#162c6c",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 108
  },
  "hsl": {
    "h": 224.651,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31872,
    "c": 0.11505,
    "h": 265.7
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#162C6C
secondary
#A2883C
accent
#BE3FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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