#163D7A#163D7A

#163D7A is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.113 H 259.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#163D7A
RGBrgb(22, 61, 122)
HSLhsl(217, 69%, 28%)
HSVhsv(217, 82%, 48%)
CMYKcmyk(82%, 50%, 0%, 52.2%)
CIE-LABlab(26.48, 10.41, -38.64)
CIE-LCHlch(26.48, 40.02, 285.07°)
OKLaboklab(36.95% -0.021 -0.1111)
OKLCHoklch(36.95% 0.113 259.3)
XYZxyz(5.5112, 4.9125, 19.0663)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D7A #7A5316
analogous
#166F7A #163D7A #21167A
triadic
#163D7A #7A163D #3D7A16
tetradic
#163D7A #7A166F #7A5316 #167A21
square
#163D7A #7A166F #7A5316 #167A21
split-complementary
#163D7A #7A2116 #6F7A16
monochromatic
#050D1A #0D2346 #163D7A #1F57AE #3173DA

Accessibility & contrast

On white

10.59
#163D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#163D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D7A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D7A#FFFFFF#000000##FFFFFF
##163D7A1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #163d7a;
/* rgb */ color: rgb(22, 61, 122);
/* oklch */ color: oklch(37.0% 0.113 259.3);
Tailwind
colors: {
  custom: {
    50: '#6571a1',
    500: '#163d7a',
    950: '#000000',
  },
}
SCSS
$custom: #163d7a;
$custom-light: #6571a1;
$custom-dark: #000000;
JSON
{
  "hex": "#163d7a",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 216.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36952,
    "c": 0.11303,
    "h": 259.3
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#163D7A
secondary
#AF833D
accent
#A73CEC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #163D7A

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

Preview Lab → · Contrast checker → · Palette generator →

#163D7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva