#162A38#162A38

#162A38 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.037 H 240.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#162A38
RGBrgb(22, 42, 56)
HSLhsl(205, 44%, 15%)
HSVhsv(205, 61%, 22%)
CMYKcmyk(60.7%, 25%, 0%, 78%)
CIE-LABlab(16.06, -3.17, -11.48)
CIE-LCHlch(16.06, 11.91, 254.57°)
OKLaboklab(27.5% -0.0181 -0.032)
OKLCHoklch(27.5% 0.037 240.5)
XYZxyz(1.8724, 2.1119, 4.0496)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A38 #382416
analogous
#163835 #162A38 #161938
triadic
#162A38 #38162A #2A3816
tetradic
#162A38 #351638 #382416 #193816
square
#162A38 #351638 #382416 #193816
split-complementary
#162A38 #381619 #383516
monochromatic
#091016 #091016 #162A38 #274B64 #396C90

Accessibility & contrast

On white

14.76
#162A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#162A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A38
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A38#FFFFFF#000000##FFFFFF
##162A381.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A39
Deuteranopia (green-blind)
#1F2638
Tritanopia (blue-blind)
#042D2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162a38;
/* rgb */ color: rgb(22, 42, 56);
/* oklch */ color: oklch(27.5% 0.037 240.5);
Tailwind
colors: {
  custom: {
    50: '#56636e',
    500: '#162a38',
    950: '#000000',
  },
}
SCSS
$custom: #162a38;
$custom-light: #56636e;
$custom-dark: #000000;
JSON
{
  "hex": "#162a38",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 204.706,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.275,
    "c": 0.03679,
    "h": 240.5
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#162A38
secondary
#6F503B
accent
#8954D3
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#030507
muted
#78797A

Preview Lab

Preview with #162A38

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

Preview Lab → · Contrast checker → · Palette generator →

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