#162A40#162A40

#162A40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.049 H 252.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#162A40
RGBrgb(22, 42, 64)
HSLhsl(211, 49%, 17%)
HSVhsv(211, 66%, 25%)
CMYKcmyk(65.6%, 34.4%, 0%, 74.9%)
CIE-LABlab(16.49, -0.09, -16.38)
CIE-LCHlch(16.49, 16.38, 269.70°)
OKLaboklab(27.97% -0.015 -0.0461)
OKLCHoklch(27.97% 0.049 252)
XYZxyz(2.0839, 2.1965, 5.1636)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A40 #402C16
analogous
#163F40 #162A40 #171640
triadic
#162A40 #40162A #2A4016
tetradic
#162A40 #40163F #402C16 #164017
square
#162A40 #40163F #402C16 #164017
split-complementary
#162A40 #401716 #3F4016
monochromatic
#080F17 #080F17 #162A40 #26486E #35669B

Accessibility & contrast

On white

14.59
#162A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A40
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A40#FFFFFF#000000##FFFFFF
##162A401.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#1B2740
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162a40;
/* rgb */ color: rgb(22, 42, 64);
/* oklch */ color: oklch(28.0% 0.049 252.0);
Tailwind
colors: {
  custom: {
    50: '#576375',
    500: '#162a40',
    950: '#000000',
  },
}
SCSS
$custom: #162a40;
$custom-light: #576375;
$custom-dark: #000000;
JSON
{
  "hex": "#162a40",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 211.429,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27972,
    "c": 0.04851,
    "h": 252
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#162A40
secondary
#775A3B
accent
#974FD8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #162A40

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

Preview Lab → · Contrast checker → · Palette generator →

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