#162556#162556

#162556 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.091 H 267.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#162556
RGBrgb(22, 37, 86)
HSLhsl(226, 59%, 21%)
HSVhsv(226, 74%, 34%)
CMYKcmyk(74.4%, 57%, 0%, 66.3%)
CIE-LABlab(16.33, 12.66, -31.63)
CIE-LCHlch(16.33, 34.07, 291.82°)
OKLaboklab(28.34% -0.004 -0.0909)
OKLCHoklch(28.34% 0.091 267.5)
XYZxyz(2.6716, 2.1653, 9.0795)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162556 #564716
analogous
#164556 #162556 #271656
triadic
#162556 #561625 #255616
tetradic
#162556 #561645 #564716 #165627
square
#162556 #561645 #564716 #165627
split-complementary
#162556 #562716 #455616
monochromatic
#060A18 #0A1025 #162556 #223A87 #2F4FB7

Accessibility & contrast

On white

14.65
#162556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162556
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162556#FFFFFF#000000##FFFFFF
##1625561.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052C58
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162556;
/* rgb */ color: rgb(22, 37, 86);
/* oklch */ color: oklch(28.3% 0.091 267.5);
Tailwind
colors: {
  custom: {
    50: '#5c5f86',
    500: '#162556',
    950: '#000000',
  },
}
SCSS
$custom: #162556;
$custom-light: #5c5f86;
$custom-dark: #000000;
JSON
{
  "hex": "#162556",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 86
  },
  "hsl": {
    "h": 225.938,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28337,
    "c": 0.091,
    "h": 267.5
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#162556
secondary
#8D7A3A
accent
#BE45E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #162556

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

Preview Lab → · Contrast checker → · Palette generator →

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