#162138#162138

#162138 is a dark, muted blue. Relative luminance 0.015; OKLCH L 25.0% C 0.047 H 263.9°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#162138
RGBrgb(22, 33, 56)
HSLhsl(221, 44%, 15%)
HSVhsv(221, 61%, 22%)
CMYKcmyk(60.7%, 41.1%, 0%, 78%)
CIE-LABlab(12.88, 3.33, -16.44)
CIE-LCHlch(12.88, 16.77, 281.47°)
OKLaboklab(25.01% -0.0049 -0.0464)
OKLCHoklch(25.01% 0.047 263.9)
XYZxyz(1.5883, 1.5437, 3.9549)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162138 #382D16
analogous
#163238 #162138 #1C1638
triadic
#162138 #381621 #213816
tetradic
#162138 #381632 #382D16 #16381C
square
#162138 #381632 #382D16 #16381C
split-complementary
#162138 #381C16 #323816
monochromatic
#090D16 #090D16 #162138 #273B64 #395590

Accessibility & contrast

On white

16.05
#162138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#162138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162138
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162138#FFFFFF#000000##FFFFFF
##1621381.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#062629
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #162138;
/* rgb */ color: rgb(22, 33, 56);
/* oklch */ color: oklch(25.0% 0.047 263.9);
Tailwind
colors: {
  custom: {
    50: '#565b6e',
    500: '#162138',
    950: '#000000',
  },
}
SCSS
$custom: #162138;
$custom-light: #565b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#162138",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 220.588,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25007,
    "c": 0.04663,
    "h": 263.9
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#162138
secondary
#6F5E3B
accent
#AA54D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #162138

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

Preview Lab → · Contrast checker → · Palette generator →

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