#162D4C#162D4C

#162D4C is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.064 H 256.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#162D4C
RGBrgb(22, 45, 76)
HSLhsl(214, 55%, 19%)
HSVhsv(214, 71%, 30%)
CMYKcmyk(71.1%, 40.8%, 0%, 70.2%)
CIE-LABlab(18.23, 2.60, -21.85)
CIE-LCHlch(18.23, 22.00, 276.80°)
OKLaboklab(29.57% -0.015 -0.062)
OKLCHoklch(29.57% 0.064 256.4)
XYZxyz(2.5733, 2.5689, 7.1963)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D4C #4C3516
analogous
#16484C #162D4C #1A164C
triadic
#162D4C #4C162D #2D4C16
tetradic
#162D4C #4C1648 #4C3516 #164C1A
square
#162D4C #4C1648 #4C3516 #164C1A
split-complementary
#162D4C #4C1A16 #484C16
monochromatic
#070E18 #08111D #162D4C #24497B #3165AB

Accessibility & contrast

On white

13.87
#162D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D4C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D4C#FFFFFF#000000##FFFFFF
##162D4C1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2F4D
Deuteranopia (green-blind)
#182A4B
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162d4c;
/* rgb */ color: rgb(22, 45, 76);
/* oklch */ color: oklch(29.6% 0.064 256.4);
Tailwind
colors: {
  custom: {
    50: '#5a657e',
    500: '#162d4c',
    950: '#000000',
  },
}
SCSS
$custom: #162d4c;
$custom-light: #5a657e;
$custom-dark: #000000;
JSON
{
  "hex": "#162d4c",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 214.444,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29565,
    "c": 0.06382,
    "h": 256.4
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#162D4C
secondary
#84643A
accent
#9F49DE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #162D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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