#163A8D#163A8D

#163A8D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.144 H 263.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#163A8D
RGBrgb(22, 58, 141)
HSLhsl(222, 73%, 32%)
HSVhsv(222, 84%, 55%)
CMYKcmyk(84.4%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.07, 20.38, -49.55)
CIE-LCHlch(27.07, 53.58, 292.35°)
OKLaboklab(37.86% -0.0166 -0.1432)
OKLCHoklch(37.86% 0.144 263.4)
XYZxyz(6.6499, 5.1190, 25.8317)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A8D #8D6916
analogous
#16768D #163A8D #2E168D
triadic
#163A8D #8D163A #3A8D16
tetradic
#163A8D #8D1676 #8D6916 #168D2E
square
#163A8D #8D1676 #8D6916 #168D2E
split-complementary
#163A8D #8D2E16 #768D16
monochromatic
#050E23 #0E2458 #163A8D #1E50C2 #3D6EE1

Accessibility & contrast

On white

10.38
#163A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#163A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A8D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A8D#FFFFFF#000000##FFFFFF
##163A8D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #163a8d;
/* rgb */ color: rgb(22, 58, 141);
/* oklch */ color: oklch(37.9% 0.144 263.4);
Tailwind
colors: {
  custom: {
    50: '#6a6faf',
    500: '#163a8d',
    950: '#000000',
  },
}
SCSS
$custom: #163a8d;
$custom-light: #6a6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#163a8d",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 221.849,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.14416,
    "h": 263.4
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#163A8D
secondary
#C1993E
accent
#B838F0
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #163A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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