#162C5C#162C5C

#162C5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.091 H 263.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#162C5C
RGBrgb(22, 44, 92)
HSLhsl(221, 61%, 22%)
HSVhsv(221, 76%, 36%)
CMYKcmyk(76.1%, 52.2%, 0%, 63.9%)
CIE-LABlab(18.99, 10.00, -31.35)
CIE-LCHlch(18.99, 32.91, 287.70°)
OKLaboklab(30.51% -0.0103 -0.0899)
OKLCHoklch(30.51% 0.091 263.5)
XYZxyz(3.1626, 2.7443, 10.4862)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C5C #5C4616
analogous
#164F5C #162C5C #23165C
triadic
#162C5C #5C162C #2C5C16
tetradic
#162C5C #5C164F #5C4616 #165C23
square
#162C5C #5C164F #5C4616 #165C23
split-complementary
#162C5C #5C2316 #4F5C16
monochromatic
#060C19 #0A142B #162C5C #22448D #2E5BBF

Accessibility & contrast

On white

13.56
#162C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C5C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C5C#FFFFFF#000000##FFFFFF
##162C5C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11325E
Deuteranopia (green-blind)
#012B5B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162c5c;
/* rgb */ color: rgb(22, 44, 92);
/* oklch */ color: oklch(30.5% 0.091 263.5);
Tailwind
colors: {
  custom: {
    50: '#5e648a',
    500: '#162c5c',
    950: '#000000',
  },
}
SCSS
$custom: #162c5c;
$custom-light: #5e648a;
$custom-dark: #000000;
JSON
{
  "hex": "#162c5c",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 221.143,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30506,
    "c": 0.09053,
    "h": 263.5
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#162C5C
secondary
#93773B
accent
#B243E5
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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