#162C5D#162C5D

#162C5D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.092 H 263.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#162C5D
RGBrgb(22, 44, 93)
HSLhsl(221, 62%, 23%)
HSVhsv(221, 76%, 36%)
CMYKcmyk(76.3%, 52.7%, 0%, 63.5%)
CIE-LABlab(19.06, 10.42, -31.89)
CIE-LCHlch(19.06, 33.55, 288.10°)
OKLaboklab(30.59% -0.0101 -0.0915)
OKLCHoklch(30.59% 0.092 263.7)
XYZxyz(3.2066, 2.7619, 10.7179)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C5D #5D4716
analogous
#16505D #162C5D #23165D
triadic
#162C5D #5D162C #2C5D16
tetradic
#162C5D #5D1650 #5D4716 #165D23
square
#162C5D #5D1650 #5D4716 #165D23
split-complementary
#162C5D #5D2316 #505D16
monochromatic
#060C19 #0A152C #162C5D #22438E #2D5BC0

Accessibility & contrast

On white

13.53
#162C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C5D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C5D#FFFFFF#000000##FFFFFF
##162C5D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10325F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162c5d;
/* rgb */ color: rgb(22, 44, 93);
/* oklch */ color: oklch(30.6% 0.092 263.7);
Tailwind
colors: {
  custom: {
    50: '#5e648b',
    500: '#162c5d',
    950: '#000000',
  },
}
SCSS
$custom: #162c5d;
$custom-light: #5e648b;
$custom-dark: #000000;
JSON
{
  "hex": "#162c5d",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 221.408,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30587,
    "c": 0.0921,
    "h": 263.7
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#162C5D
secondary
#94783B
accent
#B343E5
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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