#162372#162372

#162372 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.136 H 269.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#162372
RGBrgb(22, 35, 114)
HSLhsl(232, 68%, 27%)
HSVhsv(232, 81%, 45%)
CMYKcmyk(80.7%, 69.3%, 0%, 55.3%)
CIE-LABlab(18.31, 25.57, -46.84)
CIE-LCHlch(18.31, 53.37, 298.63°)
OKLaboklab(30.6% -0.0023 -0.1356)
OKLCHoklch(30.6% 0.136 269)
XYZxyz(3.9681, 2.5871, 16.2066)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162372 #726516
analogous
#165172 #162372 #371672
triadic
#162372 #721623 #237216
tetradic
#162372 #721651 #726516 #167237
square
#162372 #721651 #726516 #167237
split-complementary
#162372 #723716 #517216
monochromatic
#05081A #0C133F #162372 #2033A5 #2C44D6

Accessibility & contrast

On white

13.84
#162372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162372
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162372#FFFFFF#000000##FFFFFF
##1623721.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162372;
/* rgb */ color: rgb(22, 35, 114);
/* oklch */ color: oklch(30.6% 0.136 269.0);
Tailwind
colors: {
  custom: {
    50: '#645e9b',
    500: '#162372',
    950: '#000000',
  },
}
SCSS
$custom: #162372;
$custom-light: #645e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#162372",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 231.522,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30596,
    "c": 0.13558,
    "h": 269
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#162372
secondary
#A8993C
accent
#D23DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162372

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

Preview Lab → · Contrast checker → · Palette generator →

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