#163F8B#163F8B

#163F8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.135 H 261.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#163F8B
RGBrgb(22, 63, 139)
HSLhsl(219, 73%, 32%)
HSVhsv(219, 84%, 55%)
CMYKcmyk(84.2%, 54.7%, 0%, 45.5%)
CIE-LABlab(28.35, 16.07, -46.24)
CIE-LCHlch(28.35, 48.95, 289.16°)
OKLaboklab(38.78% -0.0202 -0.1334)
OKLCHoklch(38.78% 0.135 261.4)
XYZxyz(6.7669, 5.5888, 25.1432)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F8B #8B6216
analogous
#167A8B #163F8B #27168B
triadic
#163F8B #8B163F #3F8B16
tetradic
#163F8B #8B167A #8B6216 #168B27
square
#163F8B #8B167A #8B6216 #168B27
split-complementary
#163F8B #8B2716 #7A8B16
monochromatic
#050F21 #0E2756 #163F8B #1E57C0 #3B75E0

Accessibility & contrast

On white

9.92
#163F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#163F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F8B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F8B#FFFFFF#000000##FFFFFF
##163F8B1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488E
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #163f8b;
/* rgb */ color: rgb(22, 63, 139);
/* oklch */ color: oklch(38.8% 0.135 261.4);
Tailwind
colors: {
  custom: {
    50: '#6973ad',
    500: '#163f8b',
    950: '#000000',
  },
}
SCSS
$custom: #163f8b;
$custom-light: #6973ad;
$custom-dark: #000000;
JSON
{
  "hex": "#163f8b",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 218.974,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.13488,
    "h": 261.4
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#163F8B
secondary
#BF923E
accent
#AF38EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #163F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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