#162236#162236

#162236 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.1% C 0.042 H 260.2°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#162236
RGBrgb(22, 34, 54)
HSLhsl(218, 42%, 15%)
HSVhsv(218, 59%, 21%)
CMYKcmyk(59.3%, 37%, 0%, 78.8%)
CIE-LABlab(13.11, 1.81, -14.65)
CIE-LCHlch(13.11, 14.76, 277.04°)
OKLaboklab(25.15% -0.0071 -0.0412)
OKLCHoklch(25.15% 0.042 260.2)
XYZxyz(1.5685, 1.5809, 3.7118)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162236 #362A16
analogous
#163236 #162236 #1A1636
triadic
#162236 #361622 #223616
tetradic
#162236 #361632 #362A16 #16361A
square
#162236 #361632 #362A16 #16361A
split-complementary
#162236 #361A16 #323616
monochromatic
#090E16 #090E16 #162236 #283D61 #39598D

Accessibility & contrast

On white

15.96
#162236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#162236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162236
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162236#FFFFFF#000000##FFFFFF
##1622361.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2337
Deuteranopia (green-blind)
#172036
Tritanopia (blue-blind)
#072629
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #162236;
/* rgb */ color: rgb(22, 34, 54);
/* oklch */ color: oklch(25.1% 0.042 260.2);
Tailwind
colors: {
  custom: {
    50: '#565c6d',
    500: '#162236',
    950: '#000000',
  },
}
SCSS
$custom: #162236;
$custom-light: #565c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#162236",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 217.5,
    "s": 42.105,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25147,
    "c": 0.04179,
    "h": 260.2
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#162236
secondary
#6D5A3B
accent
#A356D2
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030407
muted
#78797A

Preview Lab

Preview with #162236

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

Preview Lab → · Contrast checker → · Palette generator →

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