#163D8F#163D8F

#163D8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.143 H 262.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#163D8F
RGBrgb(22, 61, 143)
HSLhsl(221, 73%, 32%)
HSVhsv(221, 85%, 56%)
CMYKcmyk(84.6%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.09, 19.10, -49.13)
CIE-LCHlch(28.09, 52.71, 291.25°)
OKLaboklab(38.68% -0.0184 -0.1419)
OKLCHoklch(38.68% 0.143 262.6)
XYZxyz(6.9558, 5.4904, 26.6744)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D8F #8F6816
analogous
#167A8F #163D8F #2B168F
triadic
#163D8F #8F163D #3D8F16
tetradic
#163D8F #8F167A #8F6816 #168F2B
square
#163D8F #8F167A #8F6816 #168F2B
split-complementary
#163D8F #8F2B16 #7A8F16
monochromatic
#061025 #0E265A #163D8F #1E54C4 #3E73E1

Accessibility & contrast

On white

10.01
#163D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#163D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D8F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D8F#FFFFFF#000000##FFFFFF
##163D8F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #163d8f;
/* rgb */ color: rgb(22, 61, 143);
/* oklch */ color: oklch(38.7% 0.143 262.6);
Tailwind
colors: {
  custom: {
    50: '#6a71b0',
    500: '#163d8f',
    950: '#000000',
  },
}
SCSS
$custom: #163d8f;
$custom-light: #6a71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#163d8f",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 220.661,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38682,
    "c": 0.1431,
    "h": 262.6
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#163D8F
secondary
#C1973F
accent
#B538F0
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080711
muted
#7A7A80

Preview Lab

Preview with #163D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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