#162D40#162D40

#162D40 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.046 H 245.2°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#162D40
RGBrgb(22, 45, 64)
HSLhsl(207, 49%, 17%)
HSVhsv(207, 66%, 25%)
CMYKcmyk(65.6%, 29.7%, 0%, 74.9%)
CIE-LABlab(17.54, -2.20, -14.74)
CIE-LCHlch(17.54, 14.90, 261.51°)
OKLaboklab(28.8% -0.0191 -0.0413)
OKLCHoklch(28.8% 0.046 245.2)
XYZxyz(2.1943, 2.4173, 5.2004)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D40 #402916
analogous
#16403E #162D40 #161840
triadic
#162D40 #40162D #2D4016
tetradic
#162D40 #3E1640 #402916 #184016
square
#162D40 #3E1640 #402916 #184016
split-complementary
#162D40 #401618 #403E16
monochromatic
#081017 #081017 #162D40 #264D6E #356D9B

Accessibility & contrast

On white

14.15
#162D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#162D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D40
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D40#FFFFFF#000000##FFFFFF
##162D401.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D41
Deuteranopia (green-blind)
#1F2940
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162d40;
/* rgb */ color: rgb(22, 45, 64);
/* oklch */ color: oklch(28.8% 0.046 245.2);
Tailwind
colors: {
  custom: {
    50: '#576575',
    500: '#162d40',
    950: '#000000',
  },
}
SCSS
$custom: #162d40;
$custom-light: #576575;
$custom-dark: #000000;
JSON
{
  "hex": "#162d40",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 207.143,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28801,
    "c": 0.04554,
    "h": 245.2
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#162D40
secondary
#77563B
accent
#8D4FD8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #162D40

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

Preview Lab → · Contrast checker → · Palette generator →

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