#162F56#162F56

#162F56 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.077 H 259.0°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#162F56
RGBrgb(22, 47, 86)
HSLhsl(217, 59%, 21%)
HSVhsv(217, 74%, 34%)
CMYKcmyk(74.4%, 45.3%, 0%, 66.3%)
CIE-LABlab(19.54, 5.30, -26.48)
CIE-LCHlch(19.54, 27.01, 281.32°)
OKLaboklab(30.79% -0.0147 -0.0756)
OKLCHoklch(30.79% 0.077 259)
XYZxyz(3.0265, 2.8752, 9.1978)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F56 #563D16
analogous
#164F56 #162F56 #1D1656
triadic
#162F56 #56162F #2F5616
tetradic
#162F56 #56164F #563D16 #16561D
square
#162F56 #56164F #563D16 #16561D
split-complementary
#162F56 #561D16 #4F5616
monochromatic
#060D18 #0A1425 #162F56 #224A87 #2F64B7

Accessibility & contrast

On white

13.33
#162F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F56
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F56#FFFFFF#000000##FFFFFF
##162F561.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3358
Deuteranopia (green-blind)
#122D55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162f56;
/* rgb */ color: rgb(22, 47, 86);
/* oklch */ color: oklch(30.8% 0.077 259.0);
Tailwind
colors: {
  custom: {
    50: '#5c6786',
    500: '#162f56',
    950: '#000000',
  },
}
SCSS
$custom: #162f56;
$custom-light: #5c6786;
$custom-dark: #000000;
JSON
{
  "hex": "#162f56",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 216.563,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30791,
    "c": 0.077,
    "h": 259
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#162F56
secondary
#8D6D3A
accent
#A545E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #162F56

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

Preview Lab → · Contrast checker → · Palette generator →

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