#162956#162956

#162956 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.085 H 264.5°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#162956
RGBrgb(22, 41, 86)
HSLhsl(222, 59%, 21%)
HSVhsv(222, 74%, 34%)
CMYKcmyk(74.4%, 52.3%, 0%, 66.3%)
CIE-LABlab(17.59, 9.69, -29.60)
CIE-LCHlch(17.59, 31.15, 288.12°)
OKLaboklab(29.29% -0.0082 -0.0849)
OKLCHoklch(29.29% 0.085 264.5)
XYZxyz(2.8029, 2.4281, 9.1232)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162956 #564316
analogous
#164956 #162956 #231656
triadic
#162956 #561629 #295616
tetradic
#162956 #561649 #564316 #165623
square
#162956 #561649 #564316 #165623
split-complementary
#162956 #562316 #495616
monochromatic
#060C18 #0A1225 #162956 #224087 #2F57B7

Accessibility & contrast

On white

14.14
#162956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162956
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162956#FFFFFF#000000##FFFFFF
##1629561.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E58
Deuteranopia (green-blind)
#032855
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162956;
/* rgb */ color: rgb(22, 41, 86);
/* oklch */ color: oklch(29.3% 0.085 264.5);
Tailwind
colors: {
  custom: {
    50: '#5c6286',
    500: '#162956',
    950: '#000000',
  },
}
SCSS
$custom: #162956;
$custom-light: #5c6286;
$custom-dark: #000000;
JSON
{
  "hex": "#162956",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 222.188,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29293,
    "c": 0.08526,
    "h": 264.5
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#162956
secondary
#8D753A
accent
#B445E2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162956

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

Preview Lab → · Contrast checker → · Palette generator →

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