#162144#162144

#162144 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.067 H 268.3°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#162144
RGBrgb(22, 33, 68)
HSLhsl(226, 51%, 18%)
HSVhsv(226, 68%, 27%)
CMYKcmyk(67.6%, 51.5%, 0%, 73.3%)
CIE-LABlab(13.68, 8.18, -23.60)
CIE-LCHlch(13.68, 24.97, 289.11°)
OKLaboklab(25.88% -0.002 -0.0673)
OKLCHoklch(25.88% 0.067 268.3)
XYZxyz(1.9178, 1.6755, 5.6901)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162144 #443916
analogous
#163844 #162144 #221644
triadic
#162144 #441621 #214416
tetradic
#162144 #441638 #443916 #164422
square
#162144 #441638 #443916 #164422
split-complementary
#162144 #442216 #384416
monochromatic
#070B17 #070B17 #162144 #253772 #344EA0

Accessibility & contrast

On white

15.73
#162144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#162144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162144
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162144#FFFFFF#000000##FFFFFF
##1621441.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#092143
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #162144;
/* rgb */ color: rgb(22, 33, 68);
/* oklch */ color: oklch(25.9% 0.067 268.3);
Tailwind
colors: {
  custom: {
    50: '#585b78',
    500: '#162144',
    950: '#000000',
  },
}
SCSS
$custom: #162144;
$custom-light: #585b78;
$custom-dark: #000000;
JSON
{
  "hex": "#162144",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 225.652,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25882,
    "c": 0.06737,
    "h": 268.3
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#162144
secondary
#7B6C3A
accent
#B94DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #162144

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

Preview Lab → · Contrast checker → · Palette generator →

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