#163F8D#163F8D

#163F8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.138 H 261.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#163F8D
RGBrgb(22, 63, 141)
HSLhsl(219, 73%, 32%)
HSVhsv(219, 84%, 55%)
CMYKcmyk(84.4%, 55.3%, 0%, 44.7%)
CIE-LABlab(28.51, 16.89, -47.22)
CIE-LCHlch(28.51, 50.15, 289.68°)
OKLaboklab(38.95% -0.02 -0.1362)
OKLCHoklch(38.95% 0.138 261.6)
XYZxyz(6.9144, 5.6478, 25.9199)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F8D #8D6416
analogous
#167B8D #163F8D #29168D
triadic
#163F8D #8D163F #3F8D16
tetradic
#163F8D #8D167B #8D6416 #168D29
square
#163F8D #8D167B #8D6416 #168D29
split-complementary
#163F8D #8D2916 #7B8D16
monochromatic
#051023 #0E2758 #163F8D #1E57C2 #3D75E1

Accessibility & contrast

On white

9.86
#163F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#163F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F8D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F8D#FFFFFF#000000##FFFFFF
##163F8D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #163f8d;
/* rgb */ color: rgb(22, 63, 141);
/* oklch */ color: oklch(38.9% 0.138 261.6);
Tailwind
colors: {
  custom: {
    50: '#6973af',
    500: '#163f8d',
    950: '#000000',
  },
}
SCSS
$custom: #163f8d;
$custom-light: #6973af;
$custom-dark: #000000;
JSON
{
  "hex": "#163f8d",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 219.328,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.13771,
    "h": 261.6
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#163F8D
secondary
#C1943E
accent
#B038F0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #163F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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