#162F42#162F42

#162F42 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.047 H 243.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#162F42
RGBrgb(22, 47, 66)
HSLhsl(206, 50%, 17%)
HSVhsv(206, 67%, 26%)
CMYKcmyk(66.7%, 28.8%, 0%, 74.1%)
CIE-LABlab(18.35, -2.81, -14.85)
CIE-LCHlch(18.35, 15.11, 259.30°)
OKLaboklab(29.48% -0.021 -0.0417)
OKLCHoklch(29.48% 0.047 243.2)
XYZxyz(2.3304, 2.5967, 5.5316)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F42 #422916
analogous
#16423F #162F42 #161942
triadic
#162F42 #42162F #2F4216
tetradic
#162F42 #3F1642 #422916 #194216
square
#162F42 #3F1642 #422916 #194216
split-complementary
#162F42 #421619 #423F16
monochromatic
#081017 #081017 #162F42 #255070 #35709E

Accessibility & contrast

On white

13.82
#162F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F42
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F42#FFFFFF#000000##FFFFFF
##162F421.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F43
Deuteranopia (green-blind)
#212B42
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162f42;
/* rgb */ color: rgb(22, 47, 66);
/* oklch */ color: oklch(29.5% 0.047 243.2);
Tailwind
colors: {
  custom: {
    50: '#586776',
    500: '#162f42',
    950: '#000000',
  },
}
SCSS
$custom: #162f42;
$custom-light: #586776;
$custom-dark: #000000;
JSON
{
  "hex": "#162f42",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 205.909,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29476,
    "c": 0.04665,
    "h": 243.2
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#162F42
secondary
#79563A
accent
#8A4EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #162F42

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

Preview Lab → · Contrast checker → · Palette generator →

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