#163372#163372

#163372 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.114 H 263.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#163372
RGBrgb(22, 51, 114)
HSLhsl(221, 68%, 27%)
HSVhsv(221, 81%, 45%)
CMYKcmyk(80.7%, 55.3%, 0%, 55.3%)
CIE-LABlab(22.84, 14.16, -39.46)
CIE-LCHlch(22.84, 41.92, 289.75°)
OKLaboklab(33.97% -0.0138 -0.1137)
OKLCHoklch(33.97% 0.114 263.1)
XYZxyz(4.5509, 3.7526, 16.4008)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163372 #725516
analogous
#166172 #163372 #271672
triadic
#163372 #721633 #337216
tetradic
#163372 #721661 #725516 #167227
square
#163372 #721661 #725516 #167227
split-complementary
#163372 #722716 #617216
monochromatic
#050B1A #0C1C3F #163372 #204AA5 #2C62D6

Accessibility & contrast

On white

12.00
#163372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#163372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163372
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163372#FFFFFF#000000##FFFFFF
##1633721.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053B74
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163372;
/* rgb */ color: rgb(22, 51, 114);
/* oklch */ color: oklch(34.0% 0.114 263.1);
Tailwind
colors: {
  custom: {
    50: '#636a9b',
    500: '#163372',
    950: '#000000',
  },
}
SCSS
$custom: #163372;
$custom-light: #636a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#163372",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 221.087,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33973,
    "c": 0.11449,
    "h": 263.1
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#163372
secondary
#A8863C
accent
#B43DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163372

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

Preview Lab → · Contrast checker → · Palette generator →

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