#162756#162756

#162756 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.088 H 266.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#162756
RGBrgb(22, 39, 86)
HSLhsl(224, 59%, 21%)
HSVhsv(224, 74%, 34%)
CMYKcmyk(74.4%, 54.7%, 0%, 66.3%)
CIE-LABlab(16.96, 11.17, -30.62)
CIE-LCHlch(16.96, 32.60, 290.05°)
OKLaboklab(28.81% -0.0061 -0.0879)
OKLCHoklch(28.81% 0.088 266.1)
XYZxyz(2.7355, 2.2932, 9.1008)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162756 #564516
analogous
#164756 #162756 #251656
triadic
#162756 #561627 #275616
tetradic
#162756 #561647 #564516 #165625
square
#162756 #561647 #564516 #165625
split-complementary
#162756 #562516 #475616
monochromatic
#060B18 #0A1125 #162756 #223D87 #2F53B7

Accessibility & contrast

On white

14.40
#162756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162756
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162756#FFFFFF#000000##FFFFFF
##1627561.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2D58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162756;
/* rgb */ color: rgb(22, 39, 86);
/* oklch */ color: oklch(28.8% 0.088 266.1);
Tailwind
colors: {
  custom: {
    50: '#5c6086',
    500: '#162756',
    950: '#000000',
  },
}
SCSS
$custom: #162756;
$custom-light: #5c6086;
$custom-dark: #000000;
JSON
{
  "hex": "#162756",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 224.063,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2881,
    "c": 0.08812,
    "h": 266.1
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#162756
secondary
#8D773A
accent
#B945E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #162756

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

Preview Lab → · Contrast checker → · Palette generator →

#162756 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva