#163371#163371

#163371 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.113 H 262.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#163371
RGBrgb(22, 51, 113)
HSLhsl(221, 67%, 26%)
HSVhsv(221, 81%, 44%)
CMYKcmyk(80.5%, 54.9%, 0%, 55.7%)
CIE-LABlab(22.76, 13.75, -38.94)
CIE-LCHlch(22.76, 41.30, 289.44°)
OKLaboklab(33.89% -0.0139 -0.1121)
OKLCHoklch(33.89% 0.113 262.9)
XYZxyz(4.4943, 3.7300, 16.1027)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163371 #715416
analogous
#166171 #163371 #271671
triadic
#163371 #711633 #337116
tetradic
#163371 #711661 #715416 #167127
square
#163371 #711661 #715416 #167127
split-complementary
#163371 #712716 #617116
monochromatic
#050C1A #0C1C3E #163371 #204AA4 #2C62D6

Accessibility & contrast

On white

12.03
#163371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163371
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163371#FFFFFF#000000##FFFFFF
##1633711.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B73
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163371;
/* rgb */ color: rgb(22, 51, 113);
/* oklch */ color: oklch(33.9% 0.113 262.9);
Tailwind
colors: {
  custom: {
    50: '#636a9a',
    500: '#163371',
    950: '#000000',
  },
}
SCSS
$custom: #163371;
$custom-light: #636a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#163371",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 220.879,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33889,
    "c": 0.11301,
    "h": 262.9
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#163371
secondary
#A7853C
accent
#B33EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163371

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

Preview Lab → · Contrast checker → · Palette generator →

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