#162F40#162F40

#162F40 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.044 H 240.3°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#162F40
RGBrgb(22, 47, 64)
HSLhsl(204, 49%, 17%)
HSVhsv(204, 66%, 25%)
CMYKcmyk(65.6%, 26.6%, 0%, 74.9%)
CIE-LABlab(18.25, -3.58, -13.64)
CIE-LCHlch(18.25, 14.10, 255.29°)
OKLaboklab(29.36% -0.0218 -0.0382)
OKLCHoklch(29.36% 0.044 240.3)
XYZxyz(2.2725, 2.5736, 5.2265)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F40 #402716
analogous
#16403C #162F40 #161A40
triadic
#162F40 #40162F #2F4016
tetradic
#162F40 #3C1640 #402716 #1A4016
square
#162F40 #3C1640 #402716 #1A4016
split-complementary
#162F40 #40161A #403C16
monochromatic
#081117 #081117 #162F40 #26506E #35729B

Accessibility & contrast

On white

13.86
#162F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F40
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F40#FFFFFF#000000##FFFFFF
##162F401.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#222B40
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162f40;
/* rgb */ color: rgb(22, 47, 64);
/* oklch */ color: oklch(29.4% 0.044 240.3);
Tailwind
colors: {
  custom: {
    50: '#576775',
    500: '#162f40',
    950: '#000000',
  },
}
SCSS
$custom: #162f40;
$custom-light: #576775;
$custom-dark: #000000;
JSON
{
  "hex": "#162f40",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 204.286,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29361,
    "c": 0.04397,
    "h": 240.3
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#162F40
secondary
#77533B
accent
#874FD8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #162F40

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

Preview Lab → · Contrast checker → · Palette generator →

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