#162F3F#162F3F

#162F3F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.043 H 238.6°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#162F3F
RGBrgb(22, 47, 63)
HSLhsl(203, 48%, 17%)
HSVhsv(203, 65%, 25%)
CMYKcmyk(65.1%, 25.4%, 0%, 75.3%)
CIE-LABlab(18.20, -3.96, -13.03)
CIE-LCHlch(18.20, 13.62, 253.09°)
OKLaboklab(29.3% -0.0222 -0.0364)
OKLCHoklch(29.3% 0.043 238.6)
XYZxyz(2.2443, 2.5623, 5.0780)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F3F #3F2616
analogous
#163F3B #162F3F #161B3F
triadic
#162F3F #3F162F #2F3F16
tetradic
#162F3F #3B163F #3F2616 #1B3F16
square
#162F3F #3B163F #3F2616 #1B3F16
split-complementary
#162F3F #3F161B #3F3B16
monochromatic
#081117 #081117 #162F3F #26516C #36739A

Accessibility & contrast

On white

13.89
#162F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F3F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F3F#FFFFFF#000000##FFFFFF
##162F3F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F40
Deuteranopia (green-blind)
#222B3F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162f3f;
/* rgb */ color: rgb(22, 47, 63);
/* oklch */ color: oklch(29.3% 0.043 238.6);
Tailwind
colors: {
  custom: {
    50: '#576774',
    500: '#162f3f',
    950: '#000000',
  },
}
SCSS
$custom: #162f3f;
$custom-light: #576774;
$custom-dark: #000000;
JSON
{
  "hex": "#162f3f",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 203.415,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29304,
    "c": 0.04267,
    "h": 238.6
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#162F3F
secondary
#76523B
accent
#8550D8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #162F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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