#162F51#162F51

#162F51 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.069 H 256.7°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#162F51
RGBrgb(22, 47, 81)
HSLhsl(215, 57%, 20%)
HSVhsv(215, 73%, 32%)
CMYKcmyk(72.8%, 42%, 0%, 68.2%)
CIE-LABlab(19.21, 3.23, -23.66)
CIE-LCHlch(19.21, 23.88, 277.77°)
OKLaboklab(30.44% -0.016 -0.0673)
OKLCHoklch(30.44% 0.069 256.7)
XYZxyz(2.8321, 2.7974, 8.1737)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F51 #513816
analogous
#164D51 #162F51 #1A1651
triadic
#162F51 #51162F #2F5116
tetradic
#162F51 #51164D #513816 #16511A
square
#162F51 #51164D #513816 #16511A
split-complementary
#162F51 #511A16 #4D5116
monochromatic
#070E18 #091321 #162F51 #234B81 #3067B1

Accessibility & contrast

On white

13.46
#162F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F51
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F51#FFFFFF#000000##FFFFFF
##162F511.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203252
Deuteranopia (green-blind)
#172C50
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162f51;
/* rgb */ color: rgb(22, 47, 81);
/* oklch */ color: oklch(30.4% 0.069 256.7);
Tailwind
colors: {
  custom: {
    50: '#5b6782',
    500: '#162f51',
    950: '#000000',
  },
}
SCSS
$custom: #162f51;
$custom-light: #5b6782;
$custom-dark: #000000;
JSON
{
  "hex": "#162f51",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 214.576,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.06916,
    "h": 256.7
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#162F51
secondary
#88673A
accent
#A047E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #162F51

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

Preview Lab → · Contrast checker → · Palette generator →

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