#162A42#162A42

#162A42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.052 H 253.9°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#162A42
RGBrgb(22, 42, 66)
HSLhsl(213, 50%, 17%)
HSVhsv(213, 67%, 26%)
CMYKcmyk(66.7%, 36.4%, 0%, 74.1%)
CIE-LABlab(16.60, 0.71, -17.58)
CIE-LCHlch(16.60, 17.60, 272.31°)
OKLaboklab(28.1% -0.0143 -0.0496)
OKLCHoklch(28.1% 0.052 253.9)
XYZxyz(2.1419, 2.2197, 5.4688)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A42 #422E16
analogous
#164042 #162A42 #181642
triadic
#162A42 #42162A #2A4216
tetradic
#162A42 #421640 #422E16 #164218
square
#162A42 #421640 #422E16 #164218
split-complementary
#162A42 #421816 #404216
monochromatic
#080F17 #080F17 #162A42 #254770 #35649E

Accessibility & contrast

On white

14.54
#162A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162A42
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A42#FFFFFF#000000##FFFFFF
##162A421.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162a42;
/* rgb */ color: rgb(22, 42, 66);
/* oklch */ color: oklch(28.1% 0.052 253.9);
Tailwind
colors: {
  custom: {
    50: '#586376',
    500: '#162a42',
    950: '#000000',
  },
}
SCSS
$custom: #162a42;
$custom-light: #586376;
$custom-dark: #000000;
JSON
{
  "hex": "#162a42",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 212.727,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28099,
    "c": 0.05165,
    "h": 253.9
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#162A42
secondary
#795D3A
accent
#9A4EDA
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #162A42

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

Preview Lab → · Contrast checker → · Palette generator →

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